summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-11-07 21:35:23 -0500
committerScott Moser <smoser@brickies.net>2017-11-09 16:57:23 -0500
commitb6deb1d851100a79a89d3c66e74df7bc7efff68c (patch)
treee42587bf90a246d6af5c668f506f9f1f902ad01e /tests/cloud_tests/testcases/modules
parent8c2caad47a958799476f705e42a1fad9ec636233 (diff)
downloadvyos-cloud-init-b6deb1d851100a79a89d3c66e74df7bc7efff68c.tar.gz
vyos-cloud-init-b6deb1d851100a79a89d3c66e74df7bc7efff68c.zip
Replace the temporary i9n.brickies.net with i9n.cloud-init.io.
We had used some dns records in i9n.brickies.net (my personal domain) as a temporary solution until we got names registered in the cloud-init.io namespace. We now have CNAME records for: ubuntu.i9n.cloud-init.io cloudinit1.cloud-init.io cloudinit2.cloud-init.io
Diffstat (limited to 'tests/cloud_tests/testcases/modules')
-rw-r--r--tests/cloud_tests/testcases/modules/set_hostname_fqdn.py3
-rw-r--r--tests/cloud_tests/testcases/modules/set_hostname_fqdn.yaml3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/cloud_tests/testcases/modules/set_hostname_fqdn.py b/tests/cloud_tests/testcases/modules/set_hostname_fqdn.py
index 08ceae01..eb6f0650 100644
--- a/tests/cloud_tests/testcases/modules/set_hostname_fqdn.py
+++ b/tests/cloud_tests/testcases/modules/set_hostname_fqdn.py
@@ -1,6 +1,7 @@
# This file is part of cloud-init. See LICENSE file for license information.
"""cloud-init Integration Test Verify Script."""
+from tests.cloud_tests.instances.nocloudkvm import CI_DOMAIN
from tests.cloud_tests.testcases import base
@@ -8,7 +9,7 @@ class TestHostnameFqdn(base.CloudTestCase):
"""Test Hostname module."""
ex_hostname = "cloudinit1"
- ex_fqdn = "cloudinit2.i9n.brickies.net"
+ ex_fqdn = "cloudinit2." + CI_DOMAIN
def test_hostname(self):
"""Test hostname output."""
diff --git a/tests/cloud_tests/testcases/modules/set_hostname_fqdn.yaml b/tests/cloud_tests/testcases/modules/set_hostname_fqdn.yaml
index 5320ac57..a85ee79e 100644
--- a/tests/cloud_tests/testcases/modules/set_hostname_fqdn.yaml
+++ b/tests/cloud_tests/testcases/modules/set_hostname_fqdn.yaml
@@ -7,7 +7,8 @@ cloud_config: |
#cloud-config
manage_etc_hosts: true
hostname: cloudinit1
- fqdn: cloudinit2.i9n.brickies.net
+ # this needs changing if CI_DOMAIN were updated.
+ fqdn: cloudinit2.i9n.cloud-init.io
collect_scripts:
hosts: |
#!/bin/bash