05-vm-profile: simplify profiles

This commit is contained in:
Andrew A. Vasilyev 2021-06-02 15:57:46 +03:00
parent 9b898a0bbb
commit 07f1c95c9c

View File

@ -53,43 +53,8 @@ cat > /var/cache/alterator/vm-profile.scm << _EOF_
(actiondata (actiondata
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods)) ("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
("/" (size $base . #t) (fsim . "Ext2/3") (methods $methods)))) ("/" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
(kvm (server
(title . "KVM Server (large /var/lib/libvirt)") (title . "Generic server KVM/Docker/LXD/Podman/CRI-O/PVE (large /var)")
(action . trivial)
(actiondata
("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))))
(docker
(title . "Docker 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/lib/docker" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
(containers
(title . "OCI Containers Server(Podman,CRI-O) (large /var/lib/containers)")
(action . trivial)
(actiondata
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
("/var/lib/containers" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
(lxd
(title . "LXD Server (large /var/lib/lxd)")
(action . trivial)
(actiondata
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
("/" (size $base . $[2*$base]) (fsim . "Ext2/3") (methods $methods))
("/var/lib/lxd" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
(vz
(title . "PVE or OpenVZ 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))))
(var
(title . "Generic server (large /var)")
(action . trivial) (action . trivial)
(actiondata (actiondata
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods)) ("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))