17 lines
305 B
Bash
Executable File
17 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
|
|
apt update
|
|
apt install -y curl sudo wget vim git ansible
|
|
timedatectl set-timezone Europe/Paris
|
|
echo bookworm64 > /etc/hostname
|
|
|
|
cat > /etc/hosts <EOT
|
|
127.0.0.1 localhost
|
|
127.0.1.1 bookworm64
|
|
127.0.0.1 localhost ip6-localhost ip6-loopback
|
|
EOT
|
|
|
|
apt autoclean
|
|
apt autoremove
|
|
|