diff options
author | fmenguy <francoisregis.menguy@orange.com> | 2020-11-16 17:01:33 +0100 |
---|---|---|
committer | fmenguy <francoisregis.menguy@orange.com> | 2021-04-28 11:00:55 +0200 |
commit | 83c4a7885d7c32901ff7335bdbef9d8d9f4417d7 (patch) | |
tree | a9a9a5ed6f6e6ef5eb3413d5d9be809409b8e719 /nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/51-cloudcfg-edit | |
parent | ffa058dfad5d98c6af50126748cd5798ed7b3d94 (diff) |
NFVBENCH-196: New NFVbench image for generator part (nfvbench and TRex codes inside VM)5.0.0
Change-Id: Id919a1b9dbf5e04b198d022432ed5c64232a27ba
Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/51-cloudcfg-edit')
-rwxr-xr-x | nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/51-cloudcfg-edit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/51-cloudcfg-edit b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/51-cloudcfg-edit index dc51030..1a0dec9 100755 --- a/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/51-cloudcfg-edit +++ b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/51-cloudcfg-edit @@ -7,6 +7,9 @@ user = "cloud-user" with open(cloudcfg) as f: cfg = yaml.safe_load(f) +# allow SSH password auth +cfg['ssh_pwauth'] = "1" + try: if cfg['system_info']['default_user']['name']: synver = "2" |