Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #926 from mcastelino/topic/singlevm_fix_test_ips
Browse files Browse the repository at this point in the history
Single VM: Bugfix: Setup the cloud-init in the right location
  • Loading branch information
Tim Pepper authored Dec 2, 2016
2 parents f107ee0 + 66ae122 commit 53b4b8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions testutil/singlevm/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ciao_cert="$ciao_bin""/cert-Scheduler-""$ciao_host"".pem"
keystone_key="$ciao_bin"/keystone_key.pem
keystone_cert="$ciao_bin"/keystone_cert.pem
workload_sshkey="$ciao_bin"/testkey
workload_cloudinit="$ciao_bin"/workloads/test.yaml
ciao_pki_path=/etc/pki/ciao
export no_proxy=$no_proxy,$ciao_vlan_ip,$ciao_host

Expand Down Expand Up @@ -304,7 +303,8 @@ chmod 600 "$workload_sshkey".pub
#Note: Password is set to ciao
test_passwd='$6$rounds=4096$w9I3hR4g/hu$AnYjaC2DfznbPSG3vxsgtgAS4mJwWBkcR74Y/KHNB5OsfAlA4gpU5j6CHWMOkkt9j.9d7OYJXJ4icXHzKXTAO.'

echo "Generating workload cloud-init file $workload_cloudinit"
workload_cloudinit=${ciao_ctl_dir}/workloads/test.yaml
sudo echo "Generating workload cloud-init file $workload_cloudinit"
(
cat <<-EOF
---
Expand All @@ -321,7 +321,6 @@ users:
EOF
) > $workload_cloudinit

sudo cp -f "$workload_cloudinit" ${ciao_ctl_dir}/workloads


#Copy the launch scripts
Expand Down
4 changes: 4 additions & 0 deletions testutil/singlevm/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,7 @@ checkEventStatus $event_counter "Deleted"

#Verify that there are no ciao related artifacts left behind
checkForNetworkArtifacts

echo "###########################################"
echo "-----------All checks passed!--------------"
echo "###########################################"

0 comments on commit 53b4b8a

Please sign in to comment.