RobH has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/394376 )

Change subject: adding additional command to wipe lvm data
......................................................................

adding additional command to wipe lvm data

the existing command wasn't enough, and left the lv data in place,
adding this command to further wipe it allowing reimage script to work
without manual intervention

Change-Id: Iedb502f76a822255c3d43fe3a04e3269c4489c25
---
M modules/install_server/files/autoinstall/partman/dumpsdata100X.cfg
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/76/394376/1

diff --git a/modules/install_server/files/autoinstall/partman/dumpsdata100X.cfg 
b/modules/install_server/files/autoinstall/partman/dumpsdata100X.cfg
index 0f3012e..c4e7d97 100644
--- a/modules/install_server/files/autoinstall/partman/dumpsdata100X.cfg
+++ b/modules/install_server/files/autoinstall/partman/dumpsdata100X.cfg
@@ -7,6 +7,7 @@
 
 # remove any LVM already on the disks
 d-i    partman-lvm/device_remove_lvm   boolean true
+d-i partman/early_command string lvremove --select all -ff -y; vgremove 
--select all -ff -y; pvremove /dev/sd* -ff -y
 
 # We'll be creating LVMs and partitioning disks SDA and SDB
 d-i    partman-auto/method     string  lvm

-- 
To view, visit https://gerrit.wikimedia.org/r/394376
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iedb502f76a822255c3d43fe3a04e3269c4489c25
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: RobH <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to