diff options
Diffstat (limited to 'scripts/lib')
| -rw-r--r-- | scripts/lib/devtool/deploy.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index e0f8e64b9c..b4f9fbfe45 100644 --- a/scripts/lib/devtool/deploy.py +++ b/scripts/lib/devtool/deploy.py | |||
| @@ -201,9 +201,9 @@ def deploy(args, config, basepath, workspace): | |||
| 201 | print(' %s' % item) | 201 | print(' %s' % item) |
| 202 | return 0 | 202 | return 0 |
| 203 | 203 | ||
| 204 | extraoptions = '' | 204 | extraoptions = '-o HostKeyAlgorithms=+ssh-rsa' |
| 205 | if args.no_host_check: | 205 | if args.no_host_check: |
| 206 | extraoptions += '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' | 206 | extraoptions += ' -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' |
| 207 | if not args.show_status: | 207 | if not args.show_status: |
| 208 | extraoptions += ' -q' | 208 | extraoptions += ' -q' |
| 209 | 209 | ||
| @@ -274,9 +274,9 @@ def undeploy(args, config, basepath, workspace): | |||
| 274 | elif not args.recipename and not args.all: | 274 | elif not args.recipename and not args.all: |
| 275 | raise argparse_oe.ArgumentUsageError('If you don\'t specify a recipe, you must specify -a/--all', 'undeploy-target') | 275 | raise argparse_oe.ArgumentUsageError('If you don\'t specify a recipe, you must specify -a/--all', 'undeploy-target') |
| 276 | 276 | ||
| 277 | extraoptions = '' | 277 | extraoptions = '-o HostKeyAlgorithms=+ssh-rsa' |
| 278 | if args.no_host_check: | 278 | if args.no_host_check: |
| 279 | extraoptions += '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' | 279 | extraoptions += ' -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' |
| 280 | if not args.show_status: | 280 | if not args.show_status: |
| 281 | extraoptions += ' -q' | 281 | extraoptions += ' -q' |
| 282 | 282 | ||
