update vm profile for server-v
This commit is contained in:
parent
d4b09709c6
commit
b252cb0716
@ -77,6 +77,7 @@ sed -i 's,^\(X-Alterator-URI=\).*$,\1/vm/ortodox,' \
|
||||
%changelog
|
||||
* Fri Jun 14 2019 Alexey Shabalin <shaba@altlinux.org> 7.0.3-alt1
|
||||
- package as name alt-server-v for Server Virtualization
|
||||
- update vm profile for server-v
|
||||
|
||||
* Fri Mar 11 2016 Michael Shigorin <mike@altlinux.org> 7.0.2-alt1
|
||||
- tweaked disk partitioning profiles towards capping the size
|
||||
|
@ -47,21 +47,12 @@ base="$[ 2*$base ]"
|
||||
# - give larger swap to build servers (RAM sized so tmpfs can get swapped out)
|
||||
|
||||
cat > /var/cache/alterator/vm-profile.scm << _EOF_
|
||||
((srv
|
||||
(title . "Generic server (large /srv)")
|
||||
((rootonly
|
||||
(title . "Minimal server (one rootfs /)")
|
||||
(action . trivial)
|
||||
(actiondata
|
||||
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
|
||||
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/var" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/srv" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
|
||||
(vz
|
||||
(title . "OpenVZ HN server (large /var/lib/vz)")
|
||||
(action . trivial)
|
||||
(actiondata
|
||||
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
|
||||
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/var/lib/vz" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
|
||||
("/" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
|
||||
(kvm
|
||||
(title . "KVM HN server (large /var/lib/libvirt)")
|
||||
(action . trivial)
|
||||
@ -69,27 +60,26 @@ cat > /var/cache/alterator/vm-profile.scm << _EOF_
|
||||
("swap" (size . $[2*$swap]) (fsim . "SWAPFS") (methods $methods))
|
||||
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/var/lib/libvirt" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
|
||||
(var
|
||||
(title . "Office server (large /var)")
|
||||
(docker
|
||||
(title . "Docker HN server (large /var/lib/docker)")
|
||||
(action . trivial)
|
||||
(actiondata
|
||||
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
|
||||
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/var" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
|
||||
(home
|
||||
(title . "Terminal/Samba server (large /home)")
|
||||
("/var/lib/docker" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
|
||||
(srv
|
||||
(title . "Generic server (large /srv)")
|
||||
(action . trivial)
|
||||
(actiondata
|
||||
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
|
||||
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/var" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/home" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
|
||||
(build
|
||||
(title . "Build server (larger swap for tmpfs)")
|
||||
(action . trivial)
|
||||
(actiondata
|
||||
("swap" (size $mem . $[2*$mem]) (fsim . "SWAPFS") (methods $methods))
|
||||
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/var" (size . $base) (fsim . "Ext2/3") (methods $methods))
|
||||
("/home" (size $base . #t) (fsim . "Ext2/3") (methods $methods)))))
|
||||
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
|
||||
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/var" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/srv" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
|
||||
(var
|
||||
(title . "Generic server (large /var)")
|
||||
(action . trivial)
|
||||
(actiondata
|
||||
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
|
||||
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
|
||||
("/var" (size $base . #t) (fsim . "Ext2/3") (methods $methods)))))
|
||||
_EOF_
|
||||
|
Loading…
x
Reference in New Issue
Block a user