From 3e535e3f3b9b1e44ed9e2394821a4f4799c8245b Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Fri, 14 Feb 2014 11:55:14 -0700 Subject: 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 --- config/waagent.conf | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ config/waagent.logrotate | 7 ++++++ 2 files changed, 64 insertions(+) create mode 100644 config/waagent.conf create mode 100644 config/waagent.logrotate (limited to 'config') 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 +} -- cgit v1.2.3