diff options
| author | Dave Walker (Daviey) <email@daviey.com> | 2016-06-07 10:49:19 +0100 |
|---|---|---|
| committer | Dave Walker (Daviey) <email@daviey.com> | 2016-06-07 11:10:07 +0100 |
| commit | 334ef7d540fcfe6957b6872cda3f080d0b4b65ab (patch) | |
| tree | 79209ef897279fcec8865e2b47c12d7e00716f20 /dev | |
| parent | 0ac3719a1709ae50d68b5b8a6722a4b734036d7a (diff) | |
| download | kolla-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 'dev')
0 files changed, 0 insertions, 0 deletions
