~oddbloke/ubuntu/precise/cloud-init/lp1374600

« back to all changes in this revision

Viewing changes to debian/cloud-init.postinst

  • Committer: Scott Moser
  • Author(s): Ben Howard
  • Date: 2013-10-16 13:17:35 UTC
  • Revision ID: smoser@ubuntu.com-20131016131735-vdw2gflvhzfkxh01
Tags: 0.6.3-0ubuntu1.8
* debian/patches/lp-1233315-add-smartos-support.patch:
  Add SmartOS DataSource, including disk format support (LP: #1233315).
* debian/patches/lp-1231490-azure-ephemeral-format.patch:
  Format Windows Azure ephemeral disks (LP: #1231490)
* debian/patches/lp-1233315-1231490-ephmeralX.Y-support.patch:
  Add support for referencing ephemeral devices as 'ephemeralX.Y
  (LP: #1231490, LP: #1233315)

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
EOF
146
146
   fi
147
147
 
 
148
   # we want to _prevent_ disk formating from happening on upgrade,
 
149
   # otherwise on reboot we could lose the disk, so we fake the
 
150
   # semaphore here
 
151
   if [ -f /var/lib/cloud/instance/obj.pkl ]; then
 
152
      echo $(date +%s) > /var/lib/cloud/instance/sem/config-disk-setup
 
153
   fi
 
154
 
148
155
   # if there are maas settings pre-seeded apply them
149
156
   handle_preseed_maas
150
157