add a mbr reset
This commit is contained in:
parent
96fa64e8f2
commit
5dd3194dda
1 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,11 @@
|
||||||
action: command resize2fs /dev/vda1
|
action: command resize2fs /dev/vda1
|
||||||
when_integer: ${growpart.rc} == 0
|
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
|
- include: $tasks/cloud_setup_basic.yml
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue