fuel-qa/fuelweb_test/helpers/instance_initial_scenario
Ivan Kliuk 0168055fe6 System tests movement from fuel-main
Apply refactoring patch https://review.openstack.org/#/c/149612/.
  Move contents of fuel-main/fuelweb_test to the repo.
  Add run_tests.sh.
  Change fuel-devops version to 2.9.0 in requirements file.

Change-Id: Id321d63d97290f2fb22736abbe1d74315aed2893
2015-02-06 11:44:08 +02:00

11 lines
284 B
Bash

#!/bin/sh
echo "Creating test file"
touch /home/test_file
echo "Creating volume mount script on instance"
echo "#!/bin/sh\nsudo /usr/sbin/mkfs.ext4 /dev/vdb\nsudo mount /dev/vdb /mnt" | tee /home/mount_volume.sh
chmod 777 /home/mount_volume.sh
echo -e "test\ntest" | passwd cirros