summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-07-21 12:33:00 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-07-21 12:33:00 +0200
commit39e61c458bbec203579e21ffff0d153a3c018edf (patch)
tree5b439c181c1d77ada11d0f2038a76c20b0f24e68 /examples
parent673d6eb6b2fbd5d65c13c00966aaee0520cd9ec7 (diff)
add test-on-sda example, very similar to fancy-install-on-sda example but with small filesystems. very useful for testing in VM's
Diffstat (limited to 'examples')
-rw-r--r--examples/test-on-sda33
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/test-on-sda b/examples/test-on-sda
new file mode 100644
index 0000000..d3385d3
--- /dev/null
+++ b/examples/test-on-sda
@@ -0,0 +1,33 @@
+# this config is like fancy-install-on-sda but with small filesystems. very usefull for quicklytesting in VM's
+
+SOURCE=cd
+FILE_URL=file:///src/core/pkg
+SYNC_URL=
+
+RUNTIME_REPOSITORIES=
+RUNTIME_PACKAGES=
+
+# packages to install
+TARGET_GROUPS=base
+TARGET_PACKAGES_EXCLUDE='reiserfsprogs'
+TARGET_PACKAGES=openssh
+
+# you can optionally also override some functions...
+worker_intro () {
+ infofy "Automatic procedure running the fancy-install-on-sda example config. this will install a system with lvm on top of dm_crypt. THIS WILL ERASE AND OVERWRITE YOUR /DEV/SDA. IF YOU DO NOT WANT THIS PRESS CTRL+C WITHIN 10 SECONDS"
+ sleep 10
+}
+
+
+# These variables are mandatory
+
+GRUB_DEVICE=/dev/sda
+PARTITIONS='/dev/sda 40:ext2:+ 20:swap *:ext4'
+BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params
+/dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params
+/dev/sda3 raw no_label dm_crypt;yes;no_mountpoint;target;no_opts;sda3crypt;-c_aes-xts-plain_-y_-s_512
+/dev/mapper/sda3crypt dm_crypt no_label lvm-pv;yes;no_mountpoint;target;no_opts;no_label;no_params
+/dev/mapper/sda3crypt+ lvm-pv no_label lvm-vg;yes;no_mountpoint;target;no_opts;cryptpool;/dev/mapper/sda3crypt
+/dev/mapper/cryptpool lvm-vg cryptpool lvm-lv;yes;no_mountpoint;target;no_opts;cryptroot;800M|lvm-lv;yes;no_mountpoint;target;no_opts;crypthome;50M
+/dev/mapper/cryptpool-cryptroot lvm-lv no_label xfs;yes;/;target;no_opts;no_label;no_params
+/dev/mapper/cryptpool-crypthome lvm-lv no_label xfs;yes;/home;target;no_opts;no_label;no_params'