diff options
-rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 2 | ||||
-rw-r--r-- | scripts/lib/devtool/deploy.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 87e71632ab..5febdde28e 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
@@ -1323,7 +1323,7 @@ class DevtoolExtractTests(DevtoolBase): | |||
1323 | # Now really test deploy-target | 1323 | # Now really test deploy-target |
1324 | result = runCmd('devtool deploy-target -c %s root@%s' % (testrecipe, qemu.ip)) | 1324 | result = runCmd('devtool deploy-target -c %s root@%s' % (testrecipe, qemu.ip)) |
1325 | # Run a test command to see if it was installed properly | 1325 | # Run a test command to see if it was installed properly |
1326 | sshargs = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' | 1326 | sshargs = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o HostKeyAlgorithms=+ssh-rsa' |
1327 | result = runCmd('ssh %s root@%s %s' % (sshargs, qemu.ip, testcommand)) | 1327 | result = runCmd('ssh %s root@%s %s' % (sshargs, qemu.ip, testcommand)) |
1328 | # Check if it deployed all of the files with the right ownership/perms | 1328 | # Check if it deployed all of the files with the right ownership/perms |
1329 | # First look on the host - need to do this under pseudo to get the correct ownership/perms | 1329 | # First look on the host - need to do this under pseudo to get the correct ownership/perms |
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 | ||