diff options
| author | Michal Arbet <michal.arbet@ultimum.io> | 2026-05-22 15:38:17 +0200 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2026-09-09 15:52:45 +0200 |
| commit | 4f11d032531fcb207f63cfd3139018da74bddda6 (patch) | |
| tree | 31c9c7c2ec2078cc2a78818b8d426796d5044f83 /kolla/docker/openvswitch | |
| parent | e30a8df63633177915b95b0c94a03abf6c0b86fc (diff) | |
| download | kolla-4f11d032531fcb207f63cfd3139018da74bddda6.tar.gz kolla-4f11d032531fcb207f63cfd3139018da74bddda6.zip | |
Remove creating logdirs in docker images
Change-Id: Iaddda80bc78bf727d8a2835d1528f49639aa87a0
Signed-off-by: Michal Arbet <michal.arbet@ultimum.io>
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 |
