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!
This commit is contained in:
Michael Shigorin 2013-10-17 13:46:05 +04:00
parent 5ffe2de5ca
commit d8520396ed

View File

@ -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)