mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
Added Virtualization Setup for Fedora (#395)
* Added Virtualization Setup * Space FIx * small fix fix * Update virtualization.sh * Update virtualization.sh --------- Co-authored-by: Chris Titus <contact@christitus.com>
This commit is contained in:
parent
67a19b06e8
commit
7640a99062
21
tabs/system-setup/fedora/virtualization.sh
Normal file
21
tabs/system-setup/fedora/virtualization.sh
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/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
|
|
@ -31,19 +31,25 @@ matches = true
|
|||
data = "command_exists"
|
||||
values = ["dnf"]
|
||||
|
||||
[[data.entries]]
|
||||
name = "RPM Fusion Setup"
|
||||
description = "RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship.\nThat software is provided as precompiled RPMs for all current Fedora versions and current Red Hat Enterprise Linux or clones versions; you can use the RPM Fusion repositories with tools like yum and PackageKit.\nFor more information visit: https://rpmfusion.org/"
|
||||
script = "fedora/rpm-fusion-setup.sh"
|
||||
|
||||
[[data.entries]]
|
||||
name = "Configure DNF"
|
||||
description = "Optimizes DNF for parallel downloads"
|
||||
script = "fedora/configure-dnf.sh"
|
||||
|
||||
[[data.entries]]
|
||||
name = "Multimedia Setup"
|
||||
script = "fedora/multimedia-codecs.sh"
|
||||
|
||||
[[data.entries]]
|
||||
name = "RPM Fusion Setup"
|
||||
description = "RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship.\nThat software is provided as precompiled RPMs for all current Fedora versions and current Red Hat Enterprise Linux or clones versions; you can use the RPM Fusion repositories with tools like yum and PackageKit.\nFor more information visit: https://rpmfusion.org/"
|
||||
script = "fedora/rpm-fusion-setup.sh"
|
||||
|
||||
[[data.entries]]
|
||||
name = "Virtualization Setup"
|
||||
description = "Enables Virtualization through dnf"
|
||||
script = "fedora/virtualization.sh"
|
||||
|
||||
[[data]]
|
||||
name = "Full System Cleanup"
|
||||
script = "system-cleanup.sh"
|
||||
|
|
Loading…
Reference in New Issue
Block a user