diff options
Diffstat (limited to 'kolla/docker/openvswitch')
3 files changed, 0 insertions, 17 deletions
diff --git a/kolla/docker/openvswitch/openvswitch-base/extend_start.sh b/kolla/docker/openvswitch/openvswitch-base/extend_start.sh index 1b0ed1300..5e0357cda 100644 --- a/kolla/docker/openvswitch/openvswitch-base/extend_start.sh +++ b/kolla/docker/openvswitch/openvswitch-base/extend_start.sh @@ -1,12 +1,4 @@ #!/bin/bash -if [[ ! -d "/var/log/kolla/openvswitch" ]]; then - mkdir -p /var/log/kolla/openvswitch -fi -if [[ $(stat -c %a /var/log/kolla/openvswitch) != "755" ]]; then - chmod 755 /var/log/kolla/openvswitch -fi - -chown -R openvswitch:openvswitch /var/log/kolla/openvswitch . /usr/local/bin/kolla_openvswitch_extend_start diff --git a/kolla/docker/openvswitch/openvswitch-db-server/extend_start.sh b/kolla/docker/openvswitch/openvswitch-db-server/extend_start.sh index d25038bdd..b8f4a6e34 100644 --- a/kolla/docker/openvswitch/openvswitch-db-server/extend_start.sh +++ b/kolla/docker/openvswitch/openvswitch-db-server/extend_start.sh @@ -9,7 +9,3 @@ if [[ $(ovsdb-tool needs-conversion /var/lib/openvswitch/conf.db) == yes ]]; the ovsdb-tool convert "/var/lib/openvswitch/conf.db" fi -if [[ ! -r "/var/log/kolla/openvswitch/ovsdb-server.log" ]]; then - touch /var/log/kolla/openvswitch/ovsdb-server.log - chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovsdb-server.log -fi diff --git a/kolla/docker/openvswitch/openvswitch-vswitchd/extend_start.sh b/kolla/docker/openvswitch/openvswitch-vswitchd/extend_start.sh index fde542130..e2fc55465 100644 --- a/kolla/docker/openvswitch/openvswitch-vswitchd/extend_start.sh +++ b/kolla/docker/openvswitch/openvswitch-vswitchd/extend_start.sh @@ -1,8 +1,3 @@ #!/bin/bash -if [[ ! -r "/var/log/kolla/openvswitch/ovs-vswitchd.log" ]]; then - touch /var/log/kolla/openvswitch/ovs-vswitchd.log - chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovs-vswitchd.log -fi - modprobe openvswitch |
