commit 042aa9ab5a27e251c8fb2f1855695cf5e791ecf5
Author: Gonéri Le Bouder <email address hidden>
Date: Fri Feb 26 11:27:54 2016 -0500
use wipefs to erase FS meta information
destroy_disk_metadata should destroy a bit more data than expected if we
want to be sure grub won't conflict with remaining bits of filesystem.
grub probes the hard drive to find remaining partition or filesystem. If
it find something, it will refuse to install itself on the disk.
By using wipefs instead of dd, we not only erase the MBR and partition
table but also all trace of filesystem, raid or partition-table signatures
(magic strings). This without extra Python code.
wipefs is part of util-linux which is available on all the Linux
distribution.
Reviewed: https:/ /review. openstack. org/286283 /git.openstack. org/cgit/ openstack/ ironic- lib/commit/ ?id=042aa9ab5a2 7e251c8fb2f1855 695cf5e791ecf5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 042aa9ab5a27e25 1c8fb2f1855695c f5e791ecf5
Author: Gonéri Le Bouder <email address hidden>
Date: Fri Feb 26 11:27:54 2016 -0500
use wipefs to erase FS meta information
destroy_ disk_metadata should destroy a bit more data than expected if we
want to be sure grub won't conflict with remaining bits of filesystem.
grub probes the hard drive to find remaining partition or filesystem. If
it find something, it will refuse to install itself on the disk.
By using wipefs instead of dd, we not only erase the MBR and partition
table but also all trace of filesystem, raid or partition-table signatures
(magic strings). This without extra Python code.
wipefs is part of util-linux which is available on all the Linux
distribution.
References: /review. openstack. org/#/c/ 284347/ /bugzilla. redhat. com/show_ bug.cgi? id=1310883
https:/
https:/
Partial-Bug: 1550604
Change-Id: I39637e22c34470 3ad48fc271f6f86 6aa018bbdd1