Andrew Bogott has submitted this change and it was merged. Change subject: Partman attempt for the new labvirt hardware ......................................................................
Partman attempt for the new labvirt hardware Change-Id: Id95688edf5c302d16dad0a73d4138560f0534a16 --- M modules/install_server/files/autoinstall/netboot.cfg A modules/install_server/files/autoinstall/partman/labvirt-ssd.cfg 2 files changed, 53 insertions(+), 0 deletions(-) Approvals: Andrew Bogott: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/install_server/files/autoinstall/netboot.cfg b/modules/install_server/files/autoinstall/netboot.cfg index 61dbcd6..dc89b17 100755 --- a/modules/install_server/files/autoinstall/netboot.cfg +++ b/modules/install_server/files/autoinstall/netboot.cfg @@ -86,6 +86,7 @@ labsdb100[67]) echo partman/raid5-gpt-lvm.cfg ;; \ labsdb[1-3]|labsdb100[1-3]) echo partman/mw.cfg ;; \ labvirt100[1-9]) echo partman/virt-hp.cfg ;; \ + labvirt101[0-1]) echo partman/labvirt-ssd.cfg ;; \ logstash100[1-3]) echo partman/raid1-lvm-ext4.cfg ;; \ logstash100[4-6]) echo partman/logstash.cfg ;; \ lvs[12]*) echo partman/flat.cfg ;; \ diff --git a/modules/install_server/files/autoinstall/partman/labvirt-ssd.cfg b/modules/install_server/files/autoinstall/partman/labvirt-ssd.cfg new file mode 100644 index 0000000..500795f --- /dev/null +++ b/modules/install_server/files/autoinstall/partman/labvirt-ssd.cfg @@ -0,0 +1,52 @@ +# The sizes here are somewhat arbitrary; they're meant to mimic the partitioning +# of some older labvirt systems that have dedicated OS drives. +# +# configuration to create: +# * no RAID (There's already a gigantic hardware raid10) +# * 92G / +# * 8G swap +# * the rest formatted with LVM, xfs on /var/lib/nova/instances + + +d-i partman-auto/method string lvm +d-i partman-auto/disk string /dev/sda + +# the install makes sure we want to wipe the lvm +d-i partman-lvm/device_remove_lvm boolean true +d-i partman-auto/confirm boolean true + +# standardize vg name for snapshots (otherwise uses hostname) +d-i partman-auto-lvm/new_vg_name string tank + +d-i partman-auto/expert_recipe string es :: \ + 92000 92000 92000 ext4 \ + $primary{ } \ + $bootable{ } \ + method{ format } \ + format{ } \ + use_filesystem{ } \ + filesystem{ ext4 } \ + mountpoint{ / } \ + . \ + 8000 8000 8000 linux-swap \ + method{ swap } \ + format{ } \ + . \ + 64 1000 10000000 xfs \ + method{ format } \ + format{ } \ + use_filesystem{ } \ + filesystem{ xfs } \ + lv_name{ data } \ + $defaultignore{ } \ + $lvmok{ } \ + mountpoint{ /var/lib/nova/instances } \ + options/nobarrier { nobarrier } \ + options/noatime { noatime } \ + . +d-i partman/choose_partition \ + select finish +d-i partman-auto/confirm boolean true + +d-i partman-auto/choose_recipe es + -- To view, visit https://gerrit.wikimedia.org/r/248068 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id95688edf5c302d16dad0a73d4138560f0534a16 Gerrit-PatchSet: 3 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org> Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits