summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBen Howard <ben.howard@ubuntu.com>2014-02-14 11:55:14 -0700
committerusd-importer <ubuntu-server@lists.ubuntu.com>2014-02-17 18:03:31 +0000
commit3e535e3f3b9b1e44ed9e2394821a4f4799c8245b (patch)
tree83c66978db367943a2f8fe17b6921ad894c40b1f /config
parentb10340ae4082fc4904a41f90d4b4e6d2179ef2ff (diff)
downloadvyos-walinuxagent-3e535e3f3b9b1e44ed9e2394821a4f4799c8245b.tar.gz
vyos-walinuxagent-3e535e3f3b9b1e44ed9e2394821a4f4799c8245b.zip
Import patches-unapplied version 2.0.3-0ubuntu1 to ubuntu/trusty-proposed
Imported using git-ubuntu import. Changelog parent: b10340ae4082fc4904a41f90d4b4e6d2179ef2ff New changelog entries: * Update to latest upstream version 2.0.3 (LP: #1249052). - use python-setuptools to do installation, dropping the {pre,post}insts - dropped the walinuxagent-datasaver packages as no longer needed. - use packaged default configuration file by default. * Include patches from 1.3.x series - debian/patches/disable_provisioning.patch: disable provisioning features infavor of WALinuxAgent cloud-init support. - debian/patches/disable-udev-rules.patch: disable UDEV rule mangling * Include default Cloud-init configuration - configures Cloud-init to use the default Azure Datasource
Diffstat (limited to 'config')
-rw-r--r--config/waagent.conf57
-rw-r--r--config/waagent.logrotate7
2 files changed, 64 insertions, 0 deletions
diff --git a/config/waagent.conf b/config/waagent.conf
new file mode 100644
index 0000000..364c2c1
--- /dev/null
+++ b/config/waagent.conf
@@ -0,0 +1,57 @@
+#
+# Windows Azure Linux Agent Configuration
+#
+
+# Specified program is invoked with the argument "Ready" when we report ready status
+# to the endpoint server.
+Role.StateConsumer=None
+
+# Specified program is invoked with XML file argument specifying role
+# configuration.
+Role.ConfigurationConsumer=None
+
+# Specified program is invoked with XML file argument specifying role topology.
+Role.TopologyConsumer=None
+
+# Enable instance creation
+Provisioning.Enabled=y
+
+# Password authentication for root account will be unavailable.
+Provisioning.DeleteRootPassword=y
+
+# Generate fresh host key pair.
+Provisioning.RegenerateSshHostKeyPair=y
+
+# Supported values are "rsa", "dsa" and "ecdsa".
+Provisioning.SshHostKeyPairType=rsa
+
+# Monitor host name changes and publish changes via DHCP requests.
+Provisioning.MonitorHostName=y
+
+# Format if unformatted. If 'n', resource disk will not be mounted.
+ResourceDisk.Format=y
+
+# File system on the resource disk
+# Typically ext3 or ext4. FreeBSD images should use 'ufs2' here.
+ResourceDisk.Filesystem=ext4
+
+# ount point for the resource disk
+ResourceDisk.MountPoint=/mnt/resource
+
+# Create and use swapfile on resource disk.
+ResourceDisk.EnableSwap=n
+
+# Size of the swapfile.
+ResourceDisk.SwapSizeMB=0
+
+# Respond to load balancer probes if requested by Windows Azure.
+LBProbeResponder=y
+
+# Logging level
+Logs.Verbose=n
+
+# Root device timeout in seconds.
+OS.RootDeviceScsiTimeout=300
+
+# If "None", the system default version is used.
+OS.OpensslPath=None
diff --git a/config/waagent.logrotate b/config/waagent.logrotate
new file mode 100644
index 0000000..7ce0522
--- /dev/null
+++ b/config/waagent.logrotate
@@ -0,0 +1,7 @@
+/var/log/waagent.log {
+ compress
+ monthly
+ rotate 6
+ notifempty
+ missingok
+}