Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResourceDisk.EnableSwap to y and rebooting does not add swap #76

Closed
mitar opened this issue Apr 6, 2015 · 1 comment
Closed

ResourceDisk.EnableSwap to y and rebooting does not add swap #76

mitar opened this issue Apr 6, 2015 · 1 comment

Comments

@mitar
Copy link

mitar commented Apr 6, 2015

I am using an official Ubuntu Server 14.04 LTS image. After booting I noticed that there is no swap. So I went and edited the /etc/waagent.conf, configured:

ResourceDisk.EnableSwap=y
ResourceDisk.SwapSizeMB=10240

Rebooted, but there is still not swap.

@szarkos
Copy link
Contributor

szarkos commented Apr 6, 2015

The Ubuntu images use cloud-init to configure the swap partition. To configure this on Ubuntu you will need to send a cloud-config during provisioning: https://wiki.ubuntu.com/AzureSwapPartitions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants