aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDave Walker (Daviey) <email@daviey.com>2016-06-07 10:49:19 +0100
committerDave Walker (Daviey) <email@daviey.com>2016-06-07 11:10:07 +0100
commit334ef7d540fcfe6957b6872cda3f080d0b4b65ab (patch)
tree79209ef897279fcec8865e2b47c12d7e00716f20 /etc
parent0ac3719a1709ae50d68b5b8a6722a4b734036d7a (diff)
downloadkolla-334ef7d540fcfe6957b6872cda3f080d0b4b65ab.tar.gz
kolla-334ef7d540fcfe6957b6872cda3f080d0b4b65ab.zip
setup_{RedHat,Debian}.sh, make more idempotent
Previously, when either setup_{RedHat,Debian}.sh was ran multiple times a mess was created due to multiple loop devices being setup. This change now looks to see if '/docker' or '/swapfile' already exist, and not re-create them if they do. *However*, /var/lib/docker (/docker) is still wiped - but it means that the script can run and bring the system into a constant vanilla state. Change-Id: I169662fa04c2bf644672ca75c3ee579795943727 Closes-Bug: #1586563 Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions