diff options
author | Scott Moser <smoser@brickies.net> | 2017-11-07 21:35:23 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-11-09 16:57:23 -0500 |
commit | b6deb1d851100a79a89d3c66e74df7bc7efff68c (patch) | |
tree | e42587bf90a246d6af5c668f506f9f1f902ad01e | |
parent | 8c2caad47a958799476f705e42a1fad9ec636233 (diff) | |
download | vyos-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
-rw-r--r-- | tests/cloud_tests/instances/nocloudkvm.py | 4 | ||||
-rw-r--r-- | tests/cloud_tests/testcases/modules/set_hostname_fqdn.py | 3 | ||||
-rw-r--r-- | tests/cloud_tests/testcases/modules/set_hostname_fqdn.yaml | 3 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/cloud_tests/instances/nocloudkvm.py b/tests/cloud_tests/instances/nocloudkvm.py index 2427c856..cc825800 100644 --- a/tests/cloud_tests/instances/nocloudkvm.py +++ b/tests/cloud_tests/instances/nocloudkvm.py @@ -15,10 +15,8 @@ from tests.cloud_tests import util # This domain contains reverse lookups for hostnames that are used. # The primary reason is so sudo will return quickly when it attempts # to look up the hostname. i9n is just short for 'integration'. -# use i9n.brickies.net until i9n.cloud-init.io is populated: -# https://portal.admin.canonical.com/107125 # see also bug 1730744 for why we had to do this. -CI_DOMAIN = "i9n.brickies.net" +CI_DOMAIN = "i9n.cloud-init.io" class NoCloudKVMInstance(base.Instance): 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 |