From 5dd3194dda5f7e507350d880c2a52683d3c62019 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Fri, 26 Apr 2013 21:53:32 +0000 Subject: [PATCH] add a mbr reset --- playbooks/f19-temp-instance.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/playbooks/f19-temp-instance.yml b/playbooks/f19-temp-instance.yml index 1dd7ba970e..558bec3b7f 100644 --- a/playbooks/f19-temp-instance.yml +++ b/playbooks/f19-temp-instance.yml @@ -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: