mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-06 05:29:42 +00:00
7640a99062
* Added Virtualization Setup * Space FIx * small fix fix * Update virtualization.sh * Update virtualization.sh --------- Co-authored-by: Chris Titus <contact@christitus.com>
22 lines
560 B
Bash
22 lines
560 B
Bash
#!/bin/sh -e
|
|
|
|
. ../../common-script.sh
|
|
|
|
# Install virtualization tools to enable virtual machines
|
|
configureVirtualization() {
|
|
case $PACKAGER in
|
|
dnf)
|
|
printf "%b\n" ${YELLOW}"Installing virtualization tools...${RC}"
|
|
$ESCALATION_TOOL "$PACKAGER" install -y @virtualization
|
|
printf "%b\n" "${GREEN}Installed virtualization tools...${RC}"
|
|
;;
|
|
*)
|
|
printf "%b\n" "${RED}Unsupported distribution: $DTYPE${RC}"
|
|
;;
|
|
esac
|
|
}
|
|
|
|
checkEnv
|
|
checkEscalationTool
|
|
configureVirtualization
|