summaryrefslogtreecommitdiff
path: root/debian/patches/config_for_cloud-init.patch
blob: 19fddad897146c7df1c484c3824c2f3a7078f8a3 (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
Description: Disable provisioning components in config
 This disables the provisioning components of walinux-agent.
 Cloud-init in newest versions can provide these same services.
Author: Ben Howard
Last-Update: 2013-07-11
--- a/waagent
+++ b/waagent
@@ -2222,6 +2222,7 @@ exit 0
 WaagentConf = """\
 #
 # Windows Azure Linux Agent Configuration
+# This configuration is modified to work with Cloud-init
 #
 
 Role.StateConsumer=None                 # Specified program is invoked with "Ready" or "Shutdown".
@@ -2230,15 +2231,15 @@ Role.StateConsumer=None
 Role.ConfigurationConsumer=None         # Specified program is invoked with XML file argument specifying role configuration.
 Role.TopologyConsumer=None              # Specified program is invoked with XML file argument specifying role topology.
 
-Provisioning.Enabled=y                  #
-Provisioning.DeleteRootPassword=y       # Password authentication for root account will be unavailable.
-Provisioning.RegenerateSshHostKeyPair=y # Generate fresh host key pair.
+Provisioning.Enabled=n                  #
+Provisioning.DeleteRootPassword=n       # Password authentication for root account will be unavailable.
+Provisioning.RegenerateSshHostKeyPair=n # Generate fresh host key pair.
 Provisioning.SshHostKeyPairType=rsa     # Supported values are "rsa", "dsa" and "ecdsa".
-Provisioning.MonitorHostName=y          # Monitor host name changes and publish changes via DHCP requests.
+Provisioning.MonitorHostName=n          # Monitor host name changes and publish changes via DHCP requests.
 
 ResourceDisk.Format=y                   # Format if unformatted. If 'n', resource disk will not be mounted.
 ResourceDisk.Filesystem=ext4            #
-ResourceDisk.MountPoint=/mnt/resource   #
+ResourceDisk.MountPoint=/mnt            #
 ResourceDisk.EnableSwap=n               # Create and use swapfile on resource disk.
 ResourceDisk.SwapSizeMB=0               # Size of the swapfile.