Andrew Bogott has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/344657 )
Change subject: Further attempt to get partman working for labtestvirt2002
......................................................................
Further attempt to get partman working for labtestvirt2002
Change-Id: Icb414a21ddab648171f8ced58fb66d69b54555bd
---
M modules/install_server/files/autoinstall/netboot.cfg
A modules/install_server/files/autoinstall/partman/labtestvirt.cfg
2 files changed, 40 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/57/344657/1
diff --git a/modules/install_server/files/autoinstall/netboot.cfg
b/modules/install_server/files/autoinstall/netboot.cfg
index 155df12..3bcfdf3 100755
--- a/modules/install_server/files/autoinstall/netboot.cfg
+++ b/modules/install_server/files/autoinstall/netboot.cfg
@@ -97,7 +97,7 @@
labtestweb2001) echo partman/raid1.cfg ;; \
labtestservices2001) echo partman/raid1.cfg ;; \
labtestvirt2001) echo partman/raid1.cfg ;; \
- labtestvirt2002) echo partman/mw.cfg ;; \
+ labtestvirt2002) echo partman/labtestvirt.cfg ;; \
labvirt100[1-9]) echo partman/virt-hp.cfg ;; \
labvirt101[0-4]) echo partman/labvirt-ssd.cfg ;; \
lithium|wezen) echo partman/raid1-gpt.cfg ;; \
diff --git a/modules/install_server/files/autoinstall/partman/labtestvirt.cfg
b/modules/install_server/files/autoinstall/partman/labtestvirt.cfg
new file mode 100644
index 0000000..5e679cd
--- /dev/null
+++ b/modules/install_server/files/autoinstall/partman/labtestvirt.cfg
@@ -0,0 +1,39 @@
+# Labtest virt node. Creates:
+# * no RAID (either single disk or hardware raid presenting a single device)
+# * no LVM
+# * no swap
+# * 20G / formatted with ext4
+# * the rest formatted with ext4 for /srv
+
+d-i partman-auto/method string regular
+d-i partman-auto/disk string /dev/sda
+
+d-i partman-auto/expert_recipe string \
+ apache : \
+ 20000 20000 20000 ext4 \
+ $primary{ } \
+ method{ format } \
+ format{ } \
+ use_filesystem{ } \
+ filesystem{ ext4 } \
+ mountpoint{ / } \
+ . \
+ 64 1000 10000000 ext4 \
+ $primary{ } \
+ $bootable{ } \
+ method{ format } \
+ format{ } \
+ use_filesystem{ } \
+ filesystem{ ext4 } \
+ mountpoint{ /srv } \
+ .
+
+d-i partman-auto/choose_recipe apache
+
+# no swap
+d-i partman-basicfilesystems/no_swap boolean false
+
+d-i partman/choose_partition select finish
+d-i partman/confirm boolean true
+d-i partman/confirm_nooverwrite boolean true
+d-i partman/confirm_write_new_label boolean true
--
To view, visit https://gerrit.wikimedia.org/r/344657
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb414a21ddab648171f8ced58fb66d69b54555bd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits