Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Virtualization Setup for Fedora #395

Merged
merged 6 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions tabs/system-setup/fedora/virtualization.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/sh -e

. ../../common-script.sh

# Install virtualization tools to enable virtual machines
configureVirtualization() {
case $PACKAGER in
dnf)
echo "Installing virtualization tools..."
Angxddeep marked this conversation as resolved.
Show resolved Hide resolved
$ESCALATION_TOOL "$PACKAGER" install -y @virtualization
echo "Installed virtualization tools..."
Angxddeep marked this conversation as resolved.
Show resolved Hide resolved
;;
*)
echo "Unsupported distribution: $DTYPE"
;;
esac
}

checkEnv () {
checkEscalationTool
}
Angxddeep marked this conversation as resolved.
Show resolved Hide resolved

configureVirtualization
4 changes: 4 additions & 0 deletions tabs/system-setup/tab_data.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ values = ["dnf"]
name = "RPM Fusion Setup"
script = "fedora/rpm-fusion-setup.sh"

[[data.entries]]
name = "Virtualization Setup"
script = "fedora/virtualization.sh"

[[data]]
name = "Full System Update"
script = "system-update.sh"
Expand Down