commit | 99588857c4534c7ac8d58afba92e2495852893c4 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Tue Jun 05 12:59:51 2018 -0700 |
committer | Andy Bavier <andy@onlab.us> | Tue Jun 05 16:21:17 2018 -0700 |
tree | 3b5c6241a026108b9b057cd0c3b861b4ff121db0 | |
parent | 05dd3bb6a15fb02ab5a36bf7cb64807a8fa3726e [diff] [blame] |
Tweaks to scripts Change-Id: I5118ccdc5bcee741f0e1f99a04598a9338af8883
diff --git a/openstack-helm/cloudlab-disk-setup.sh b/openstack-helm/cloudlab-disk-setup.sh index 0a3da8a..3aa7436 100755 --- a/openstack-helm/cloudlab-disk-setup.sh +++ b/openstack-helm/cloudlab-disk-setup.sh
@@ -51,5 +51,8 @@ do sudo mkdir -p /mnt/extra/$DIR sudo chmod -R a+rwx /mnt/extra/$DIR - [ ! -e /var/lib/$DIR ] && sudo ln -s /mnt/extra/$DIR /var/lib/$DIR + if [ ! -e /var/lib/$DIR ] + then + sudo ln -s /mnt/extra/$DIR /var/lib/$DIR + fi done