From dede6f48a819263ff873d2e8db7bbf695a76f234 Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sun, 30 Jun 2024 22:05:42 +0300 Subject: update --- vagrant/Vagrantfile.m1 | 27 +++++++++++++++++++++++++++ vagrant/Vagrantfile.regular | 27 --------------------------- 2 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 vagrant/Vagrantfile.m1 delete mode 100644 vagrant/Vagrantfile.regular (limited to 'vagrant') diff --git a/vagrant/Vagrantfile.m1 b/vagrant/Vagrantfile.m1 new file mode 100644 index 0000000..798f537 --- /dev/null +++ b/vagrant/Vagrantfile.m1 @@ -0,0 +1,27 @@ +Vagrant.configure("2") do |config| + config.vm.box = "perk/ubuntu-2204-arm64" + + config.vm.provider "qemu" do |vb| + vb.memory = "4096" + vb.cpus = 4 + end + + config.vm.provision "shell", inline: <<-SHELL + # Update and install prerequisites + apt-get update + apt-get install -y curl gnupg2 apt-transport-https software-properties-common + + # Install Tailscale + curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/bionic.gpg | apt-key add - + curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/bionic.list | tee /etc/apt/sources.list.d/tailscale.list + apt-get update + apt-get install -y tailscale + + # Start and authenticate Tailscale + systemctl enable --now tailscaled + + # Install k3sup + curl -sLS https://get.k3sup.dev | sh + mv k3sup /usr/local/bin/k3sup + SHELL +end diff --git a/vagrant/Vagrantfile.regular b/vagrant/Vagrantfile.regular deleted file mode 100644 index 79b3345..0000000 --- a/vagrant/Vagrantfile.regular +++ /dev/null @@ -1,27 +0,0 @@ -Vagrant.configure("2") do |config| - config.vm.box = "ubuntu/bionic64" - - config.vm.provider "virtualbox" do |vb| - vb.memory = "16384" - vb.cpus = 4 - end - - config.vm.provision "shell", inline: <<-SHELL - # Update and install prerequisites - apt-get update - apt-get install -y curl gnupg2 apt-transport-https software-properties-common - - # Install Tailscale - curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/bionic.gpg | apt-key add - - curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/bionic.list | tee /etc/apt/sources.list.d/tailscale.list - apt-get update - apt-get install -y tailscale - - # Start and authenticate Tailscale - systemctl enable --now tailscaled - - # Install k3sup - curl -sLS https://get.k3sup.dev | sh - mv k3sup /usr/local/bin/k3sup - SHELL -end -- cgit 1.4.1-2-gfad0