summaryrefslogtreecommitdiff
path: root/debian/patches/disable_import_test.patch
blob: f7e6b64c3836154a711aa961192fc91f7c9e2ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- a/tests/test_import_waagent.py
+++ b/tests/test_import_waagent.py
@@ -28,13 +28,7 @@
 
 class TestImportWAAgent(unittest.TestCase):
     def test_import_waagent(self):
-        agent_path = os.path.join(tools.parent, 'bin/waagent')
-        if sys.version_info[0] == 2:
-            waagent = imp.load_source('waagent', agent_path) 
-            self.assertNotEquals(None, waagent.LoggerInit)
-        else:
-            self.assertRaises(ImportError, imp.load_source, 'waagent', 
-                              agent_path)
+        pass
 
 if __name__ == '__main__':
     unittest.main()
--- a/config/waagent.conf
+++ b/config/waagent.conf
@@ -14,13 +14,13 @@
 Role.TopologyConsumer=None
 
 # Enable instance creation
-Provisioning.Enabled=y
+Provisioning.Enabled=n
 
 # Password authentication for root account will be unavailable.
-Provisioning.DeleteRootPassword=y
+Provisioning.DeleteRootPassword=n
 
 # Generate fresh host key pair.
-Provisioning.RegenerateSshHostKeyPair=y
+Provisioning.RegenerateSshHostKeyPair=n
 
 # Supported values are "rsa", "dsa" and "ecdsa".
 Provisioning.SshHostKeyPairType=rsa
@@ -41,14 +41,14 @@
 #Provisioning.PasswordCryptSaltLength=10
 
 # Format if unformatted. If 'n', resource disk will not be mounted.
-ResourceDisk.Format=y
+ResourceDisk.Format=n
 
 # File system on the resource disk
 # Typically ext3 or ext4. FreeBSD images should use 'ufs2' here.
 ResourceDisk.Filesystem=ext4
 
 # Mount point for the resource disk
-ResourceDisk.MountPoint=/mnt/resource
+ResourceDisk.MountPoint=/mnt
 
 # Create and use swapfile on resource disk.
 ResourceDisk.EnableSwap=n