Public bug reported:

When the Azure Linux agent handles the resource disk it adds a file on
the newly formatted partition called "DATALOSS_WARNING_README.txt".  The
purpose of this file is to warn customers that the disk is temporary and
may be wiped if the VM is rebooted or moved to another host.

Since cloud-init handles the resource disk for Ubuntu VMs in Azure, can
we have cloud-init add this file as well when it formats the
resource/ephemeral disk?

In the Linux agent we have to following code to define this file:

---------------------------------
README_FILENAME="DATALOSS_WARNING_README.txt"
README_FILECONTENT="""\
WARNING: THIS IS A TEMPORARY DISK.
Any data stored on this drive is SUBJECT TO LOSS and THERE IS NO WAY TO RECOVER 
IT.
Please do not use this disk for storing any personal or application data.
For additional details to please refer to the MSDN documentation at : 
http://msdn.microsoft.com/en-us/library/windowsazure/jj672979.aspx
"""
---------------------------------

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1382257

Title:
  Add "readme" to Azure's ephemeral (resource) disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1382257/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to