~brendan-donegan/maas/qa-lab-tests_custom_boot_source

« back to all changes in this revision

Viewing changes to maas-integration.py

  • Committer: Brendan Donegan
  • Date: 2016-10-07 15:16:17 UTC
  • Revision ID: brendan.donegan@canonical.com-20161007151617-nxah8gfveyzjxcwi
Use internal IP for custom images

Show diffs side-by-side

added added

removed removed

Lines of Context:
981
981
    def test_set_custom_boot_source(self):
982
982
        # 1. wget http://162.213.35.187/maas-crew.gpg -O
983
983
        # /etc/maas/maas-crew.gpg
984
 
        with urlopen('http://162.213.35.187/maas-crew.gpg') as remote:
 
984
        with urlopen('http://10.55.32.203/maas-crew.gpg') as remote:
985
985
            with open('/etc/maas/maas-crew.gpg', 'wb') as gpgkey:
986
986
                gpgkey.write(remote.read())
987
987
                gpgkey.flush()
993
993
        output, err = self._run_maas_cli(["boot-sources", "delete", "1"])
994
994
        self.assertThat(err, Equals(0))
995
995
        # 5. maas maas boot-sources create url=http://162.213.35.187/proposed
996
 
        boot_source_url = "http://162.213.35.187/proposed"
 
996
        boot_source_url = "http://10.55.32.203/proposed"
997
997
        keyring_file = "keyring_filename=/etc/maas/maas-crew.gpg"
998
998
        output, err = self._run_maas_cli([
999
999
            "boot-sources", "create",