add a mbr reset

This commit is contained in:
Seth Vidal 2013-04-26 21:53:32 +00:00
parent 96fa64e8f2
commit 5dd3194dda

View file

@ -38,6 +38,11 @@
action: command resize2fs /dev/vda1
when_integer: ${growpart.rc} == 0
- name: put the mbr back - b/c the resize breaks it
action: shell cat /usr/share/syslinux/mbr.bin > /dev/vda
when_integer: ${growpart.rc} == 0
- include: $tasks/cloud_setup_basic.yml
handlers: