NFP (contrib) - Controller VM root login

This changeset presents the changes for
root login to the controller VM through console.
SSH based root login is disabled.

Change-Id: Icf157a141d8c097b3dddfef4955f112810ec77d9
Implements: blueprint gbp-network-services-framework
This commit is contained in:
Rajendra Machani
2016-08-04 21:51:41 +05:30
committed by Subrahmanyam Ongole
parent 2cb4b0dc5e
commit cc6c6b2bf5
5 changed files with 30 additions and 2 deletions

View File

@@ -278,7 +278,7 @@ function create_nfp_image {
'from gbpservice.contrib.nfp.tools.image_builder import disk_image_create as DIB;\
DIB.cur_dir = "'$DISKIMAGE_CREATE_DIR'";\
DIB.conf["ubuntu_release"] = {"release": "trusty"};\
DIB.conf["dib"] = {"image_size": 10, "elements": ["configurator"], "offline": True, "cache_dir": "'$HOME'/.cache/image-create"};\
DIB.conf["dib"] = {"image_size": 10, "elements": ["configurator", "root-passwd"], "root_pswd": "nfp123", "offline": True, "cache_dir": "'$HOME'/.cache/image-create"};\
DIB.dib()'
rm -rf $DISKIMAGE_CREATE_DIR/neutron_lib $DISKIMAGE_CREATE_DIR/gbpservice $DISKIMAGE_CREATE_DIR/neutron $DISKIMAGE_CREATE_DIR/neutron_lbaas
ConfiguratorQcow2Image=$(cat $DISKIMAGE_CREATE_DIR/output/last_built_image_path)