From d8520396ed049bb7674f310b04613334d9a69a8f Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Thu, 17 Oct 2013 13:46:05 +0400 Subject: [PATCH] 05-vm-profile: partitioning tweaks Added "HN server" and adjusted the rest as proposed in #29483 by dubrsl@; this might be not the final version though! --- .../initinstall.d/05-vm-profile | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/installer-distro-altlinux-server/initinstall.d/05-vm-profile b/installer-distro-altlinux-server/initinstall.d/05-vm-profile index 195e749..4911923 100755 --- a/installer-distro-altlinux-server/initinstall.d/05-vm-profile +++ b/installer-distro-altlinux-server/initinstall.d/05-vm-profile @@ -47,28 +47,35 @@ base="$[ 2*$base ]" cat > /var/cache/alterator/vm-profile.scm << _EOF_ ((var - (title . "Server (/var holds most space)") + (title . "Office server (/var holds most space)") (action . trivial) (actiondata ("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods)) ("/" (size $base) (fsim . "Ext2/3") (methods $methods)) ("/var" (size $base . #t) (fsim . "Ext2/3") (methods $methods)))) - (srv - (title . "Server (/srv holds most space)") + (vz + (title . "OpenVZ HN server (/var/lib/vz holds most space)") (action . trivial) (actiondata ("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods)) ("/" (size $base) (fsim . "Ext2/3") (methods $methods)) - ("/var" (size $base) (fsim . "Ext2/3") (methods $methods)) - ("/srv" (size $base . #t) (fsim . "Ext2/3") (methods $methods)))) + ("/var/lib/vz" (size $base . #t) (fsim . "Ext2/3") (methods $methods)))) (home - (title . "Server (/home holds most space)") + (title . "Terminal/Samba server (/home holds most space)") (action . trivial) (actiondata ("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods)) ("/" (size $base) (fsim . "Ext2/3") (methods $methods)) ("/var" (size $base) (fsim . "Ext2/3") (methods $methods)) ("/home" (size $base . #t) (fsim . "Ext2/3") (methods $methods)))) + (srv + (title . "Generic server (/srv holds most space)") + (action . trivial) + (actiondata + ("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods)) + ("/" (size $base) (fsim . "Ext2/3") (methods $methods)) + ("/var" (size $base) (fsim . "Ext2/3") (methods $methods)) + ("/srv" (size $base . #t) (fsim . "Ext2/3") (methods $methods)))) (build (title . "Build server (larger swap for tmpfs)") (action . trivial)