Papaul has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/277709

Change subject: params: New recipe for labstore200[3-4] Bug:T128764
......................................................................

params: New recipe for labstore200[3-4]
Bug:T128764

Change-Id: Ib216daf905b219c7367808d465e6af9312e20fc6
---
A modules/install_server/files/autoinstall/partman/lvm-ext-srv.cfg
1 file changed, 55 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/09/277709/1

diff --git a/modules/install_server/files/autoinstall/partman/lvm-ext-srv.cfg 
b/modules/install_server/files/autoinstall/partman/lvm-ext-srv.cfg
new file mode 100644
index 0000000..bc60525
--- /dev/null
+++ b/modules/install_server/files/autoinstall/partman/lvm-ext-srv.cfg
@@ -0,0 +1,55 @@
+# configuration to create:
+#  * no RAID (either single disk or hardware raid presenting a single device)
+#  * 300M on /boot outside of LVM
+#  * the rest formatted with LVM with 80% used
+#  ** 80G / ext4 in LVM
+#  ** no swap
+#  ** the rest as xfs on /srv
+
+
+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-lvm/confirm     boolean true
+d-i    partman-lvm/confirm_nooverwrite true
+
+d-i    partman/confirm_nooverwrite     true
+d-i    partman/choose_partition        select  finish
+
+d-i    partman-auto/expert_recipe      string  es ::   \
+               40 300 300 ext3                 \
+                       $primary{ }             \
+                       $bootable{ }            \
+                       method{ format }        \
+                       format{ }               \
+                       use_filesystem{ }       \
+                       filesystem{ ext3 }      \
+                       mountpoint{ /boot }     \
+               .                               \
+               20000 40000 20000 ext4          \
+                       $lvmok{ }               \
+                       method{ format }        \
+                       format{ }               \
+                       use_filesystem{ }       \
+                       filesystem{ ext4 }      \
+                       mountpoint{ / }         \
+               .                               \
+               64 1000 10000000 ext4           \
+                       $primary{ }             \
+                       method{ format }        \
+                       format{ }               \
+                       use_filesystem{ }       \
+                       filesystem{ ext4 }      \
+                       lv_name{ data }         \
+                       $defaultignore{ }       \
+                       $lvmok{ }               \
+                       mountpoint{ /srv }      \
+               .
+
+d-i    partman-auto-lvm/guided_size    string  80%
+
+d-i    partman-auto/choose_recipe      es
+partman-basicfilesystems partman-basicfilesystems/no_swap boolean false
+

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

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

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

Reply via email to