1
0
mirror of https://github.com/rancher/os.git synced 2025-09-19 00:59:53 +00:00

Additional mounts can be set in cloud config

This commit is contained in:
Josh Curl
2016-05-25 14:27:07 -07:00
parent a002939a3f
commit f24facc06c
4 changed files with 38 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
import pytest
import rostest.util as u
from rostest.util import SSH
cloud_config_path = './tests/integration/assets/test_16/cloud-config.yml'
@pytest.fixture(scope="module")
def qemu(request):
q = u.run_qemu(request, run_args=['--cloud-config', cloud_config_path])
u.flush_out(q.stdout)
return q
def test_cloud_config_mounts(qemu):
SSH(qemu).check_call('cat /home/rancher/test | grep test')