Last active
July 22, 2020 12:45
-
-
Save beci/53cddb049995d9994e41f119b8b03a87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#curl -s https://gist.githubusercontent.com/beci/53cddb049995d9994e41f119b8b03a87/raw/bfb6afa1a37a8c03240c7961c69d4a796fe5812e/aws-arch-eu-central1.sh | bash | |
#aws ec2 describe-images --owners 093273469852 --filters "Name=root-device-type,Values=ebs" --filters "Name=virtualization-type,Values=hvm" --query 'Images[*].[Name]' --output text | |
#aws ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId,State.Name,LaunchTime,PublicDnsName,PublicIpAddress,KeyName,InstanceType]' | |
# run by curl | |
sudo pacman -S --noconfirm pacman-contrib | |
sudo bash -c "curl -s 'https://www.archlinux.org/mirrorlist/?country=AT&country=BE&country=CZ&country=DK&country=FR&country=DE&country=LU&country=NL&country=SK&country=CH&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | rankmirrors -n 5 - > /etc/pacman.d/mirrorlist" | |
sudo pacman -Sy --noconfirm fish tmux | |
echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | |
useradd -m -G users,wheel -s /usr/bin/fish beci | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment