diff options
-rw-r--r-- | apex/overcloud/deploy.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apex/overcloud/deploy.py b/apex/overcloud/deploy.py index bf209285..495743bd 100644 --- a/apex/overcloud/deploy.py +++ b/apex/overcloud/deploy.py @@ -177,7 +177,7 @@ def prep_image(ds, img, tmp_dir, root_pw=None): virt_cmds.append({con.VIRT_RUN_CMD: "chmod +x /etc/rc.d/rc.local"}) virt_cmds.append({ con.VIRT_RUN_CMD: - "echo '/opt/quagga/etc/init.d/zrpcd start' > " + "echo 'sudo /opt/quagga/etc/init.d/zrpcd start' > " "/opt/quagga/etc/init.d/zrpcd_start.sh"}) virt_cmds.append({ con.VIRT_RUN_CMD: "chmod +x /opt/quagga/etc/init.d/" @@ -185,6 +185,9 @@ def prep_image(ds, img, tmp_dir, root_pw=None): virt_cmds.append({ con.VIRT_RUN_CMD: "sed -i '$a /opt/quagga/etc/" "init.d/zrpcd_start.sh' /etc/rc.local "}) + virt_cmds.append({ + con.VIRT_RUN_CMD: "sed -i '$a /opt/quagga/etc/" + "init.d/zrpcd_start.sh' /etc/rc.d/rc.local"}) logging.info("ZRPCD process started") dataplane = ds_opts['dataplane'] |