From 1e63fe712005bee2cb3fd00f79679391e35e3ee8 Mon Sep 17 00:00:00 2001 From: "Stephen A. Zarkos" Date: Tue, 19 Nov 2013 11:23:07 -0800 Subject: [PATCH] Disable swap setup by default This reverts the WALA 2.x to WALA 1.x behavior of not configuring swap space on the resource disk by default. --- waagent | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/waagent b/waagent index b08bab4..15b3d0b 100755 --- a/waagent +++ b/waagent @@ -114,8 +114,8 @@ Provisioning.MonitorHostName=y # Monitor host name changes and publish ResourceDisk.Format=y # Format if unformatted. If 'n', resource disk will not be mounted. ResourceDisk.Filesystem=ext4 # Typically ext3 or ext4. FreeBSD images should use 'ufs2' here. ResourceDisk.MountPoint=/mnt/resource # -ResourceDisk.EnableSwap=y # Create and use swapfile on resource disk. -ResourceDisk.SwapSizeMB=1024 # Size of the swapfile. +ResourceDisk.EnableSwap=n # Create and use swapfile on resource disk. +ResourceDisk.SwapSizeMB=0 # Size of the swapfile. LBProbeResponder=y # Respond to load balancer probes if requested by Windows Azure. @@ -1138,8 +1138,8 @@ Provisioning.MonitorHostName=y # Monitor host name changes and publish ResourceDisk.Format=y # Format if unformatted. If 'n', resource disk will not be mounted. ResourceDisk.Filesystem=ufs2 # ResourceDisk.MountPoint=/mnt/resource # -ResourceDisk.EnableSwap=y # Create and use swapfile on resource disk. -ResourceDisk.SwapSizeMB=1024 # Size of the swapfile. +ResourceDisk.EnableSwap=n # Create and use swapfile on resource disk. +ResourceDisk.SwapSizeMB=0 # Size of the swapfile. LBProbeResponder=y # Respond to load balancer probes if requested by Windows Azure.