mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Add fwl, fix pkm & vm_inst, update debian_preseed & provision_linux
This commit is contained in:
parent
7f0d7d6f6f
commit
351d4c0574
5 changed files with 152 additions and 86 deletions
|
|
@ -228,13 +228,14 @@ function install_libvirt
|
|||
set -l base_pkgs \
|
||||
virt-manager \
|
||||
virt-install \
|
||||
virt-viewer
|
||||
virt-viewer \
|
||||
dnsmasq \
|
||||
dmidecode
|
||||
|
||||
set -l arch_pkgs \
|
||||
$base_pkgs \
|
||||
libvirt \
|
||||
qemu \
|
||||
dnsmasq \
|
||||
ebtables
|
||||
|
||||
set -l debian_pkgs \
|
||||
|
|
@ -259,18 +260,18 @@ end
|
|||
function install_pkgs -S
|
||||
switch $distro
|
||||
case arch
|
||||
set -l cmd pacman
|
||||
set -l cmd sudo pacman
|
||||
|
||||
if command -q pikaur
|
||||
set cmd pikaur
|
||||
end
|
||||
|
||||
sudo $cmd --sync --refresh --sysupgrade --noconfirm
|
||||
sudo $cmd --sync --noconfirm $arch_pkgs $argv
|
||||
$cmd --sync --refresh --sysupgrade --noconfirm
|
||||
and $cmd --sync --noconfirm $arch_pkgs $argv
|
||||
case debian
|
||||
sudo apt-get --quiet --yes update
|
||||
sudo apt-get --quiet --yes upgrade
|
||||
sudo apt-get --quiet --yes install $debian_pkgs $argv
|
||||
and sudo apt-get --quiet --yes upgrade
|
||||
and sudo apt-get --quiet --yes install $debian_pkgs $argv
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue