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
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))
("/" (size $base . #t) (fsim . "Ext2/3") (methods $methods))))
(kvm
(title . "KVM Server (large /var/lib/libvirt)")
(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)")
(server
(title . "Generic server KVM/Docker/LXD/Podman/CRI-O/PVE (large /var)")
(action . trivial)
(actiondata
("swap" (size . $swap) (fsim . "SWAPFS") (methods $methods))