summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_install.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-11 18:46:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-11 18:46:05 (GMT)
commit3b85d20d92918dd93f864366a9b42fac49650dd8 (patch)
tree99a54195e2e9ec44e2888f22b8bf559fb5fa857b /abs/core/LinHES-config/mv_install.py
parent11f9af48eacb4a109936361cbf963bd834d7e3c8 (diff)
downloadlinhes_pkgbuild-3b85d20d92918dd93f864366a9b42fac49650dd8.zip
linhes_pkgbuild-3b85d20d92918dd93f864366a9b42fac49650dd8.tar.gz
linhes_pkgbuild-3b85d20d92918dd93f864366a9b42fac49650dd8.tar.bz2
LinHES-config: mv_install.py Only add storage groups on machine classes that use the backend. So FE only machines end up with no SG associated with it's hostname.
refs #880
Diffstat (limited to 'abs/core/LinHES-config/mv_install.py')
-rwxr-xr-xabs/core/LinHES-config/mv_install.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py
index cb19f2b..e78c548 100755
--- a/abs/core/LinHES-config/mv_install.py
+++ b/abs/core/LinHES-config/mv_install.py
@@ -1154,10 +1154,10 @@ def double_mount(fe_only=False, upgrade=False):
cmd = "chroot " + data_config.MOUNTPOINT +" /usr/LH/bin/add_storage.py --reconstruct --no_mount"
else:
if fe_only == True:
- cmd = "chroot " + data_config.MOUNTPOINT +" /usr/LH/bin/add_storage.py --double_myth --no_mount --fe_only"
+ cmd = "chroot " + data_config.MOUNTPOINT +" /usr/LH/bin/add_storage.py --double_myth --no_mount"
else:
#cmd = "chroot " + data_config.MOUNTPOINT +" /usr/LH/bin/add_storage.py --double_myth --no_mount"
- cmd = "chroot " + data_config.MOUNTPOINT +" /usr/LH/bin/add_storage.py --double_myth "
+ cmd = "chroot " + data_config.MOUNTPOINT +" /usr/LH/bin/add_storage.py --double_myth --add_fe_sg --add_be_sg "
if runcmd(cmd)[0] == 0:
logging.debug(" Add storage worked, breaking out of loop")
@@ -1586,6 +1586,7 @@ def full_install(hostoptions):
mount_bind_chroot()
logging.info("Running systemconfig in chroot")
cmd = "chroot %s %s/bin/systemconfig.sh config_xml,this_is_install" %(data_config.MOUNTPOINT, MVROOT)
+ runcmd(cmd)
umount_bind_chroot()