primer commit
This commit is contained in:
commit
864b3e4008
105 changed files with 3185 additions and 0 deletions
10
opentofu/scripts/dnf-conf.bash
Normal file
10
opentofu/scripts/dnf-conf.bash
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
cat << EOF >> /etc/dnf/dnf.conf
|
||||
|
||||
# get me the fastest mirrors!
|
||||
max_parallel_downloads = 10
|
||||
minrate=1M
|
||||
timeout=10
|
||||
|
||||
EOF
|
||||
10
opentofu/scripts/dnf-fastest_mirrors.bash
Normal file
10
opentofu/scripts/dnf-fastest_mirrors.bash
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
cat << EOF >> /etc/dnf/dnf.conf
|
||||
|
||||
# get me the fastest mirrors!
|
||||
max_parallel_downloads = 10
|
||||
minrate=1M
|
||||
timeout=10
|
||||
|
||||
EOF
|
||||
4
opentofu/scripts/install-tools.bash
Normal file
4
opentofu/scripts/install-tools.bash
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
dnf -y install epel-release
|
||||
dnf -y install bash-completion htop iftop iotop rsync tmux tmux-powerline vim-enhanced vim-powerline wireshark-cli
|
||||
3
opentofu/scripts/set-hostname.bash
Normal file
3
opentofu/scripts/set-hostname.bash
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
hostnamectl set-hostname $1
|
||||
12
opentofu/scripts/upgrade.bash
Normal file
12
opentofu/scripts/upgrade.bash
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
# upgrade all
|
||||
dnf -y upgrade
|
||||
dnf -y distro-sync --allowerasing
|
||||
dnf -y autoremove
|
||||
|
||||
# selinux relabel
|
||||
fixfiles onboot
|
||||
|
||||
# reboot
|
||||
reboot
|
||||
Loading…
Reference in a new issue