Wget from busybox cannot search openssl binary

In TestVM-VMDK(TinyCoreLinux) openssl binary placed in /usr/local/bin,
nedd add "source /etc/profile" before performing wget, in order to
install all the way in "PATH" variable

Change-Id: Ie82ea116cc9c49e493edb295269767d4aac1c194
Closes-Bug: #1602570
This commit is contained in:
Artem Savinov 2016-07-13 15:42:41 +03:00
parent 7f12a27569
commit bd260d6d26
1 changed files with 6 additions and 4 deletions

View File

@ -2758,8 +2758,9 @@ class TestNSXvPlugin(TestBasic):
self.env.d_env.nodes().slaves[0])
remote = self.fuel_web.get_ssh_for_node(
primary_controller.name)
cmd = "wget --no-check-certificate -O - https://{}".format(
pt_settings.METADATA_IP)
cmd =\
"source /etc/profile;wget --no-check-certificate -O - https://{}"\
.format(pt_settings.METADATA_IP)
command_result = os_conn.execute_through_host(
remote, fip[0], cmd)
assert_true(
@ -2848,8 +2849,9 @@ class TestNSXvPlugin(TestBasic):
self.env.d_env.nodes().slaves[0])
remote = self.fuel_web.get_ssh_for_node(
primary_controller.name)
cmd = "wget --no-check-certificate -O - https://{}".format(
pt_settings.METADATA_IP)
cmd =\
"source /etc/profile;wget --no-check-certificate -O - https://{}"\
.format(pt_settings.METADATA_IP)
command_result = os_conn.execute_through_host(
remote, fip[0], cmd)
assert_true(