From c240b1cc752916bf967035d96c3aceddcdd61326 Mon Sep 17 00:00:00 2001 From: adjoly Date: Wed, 17 Dec 2025 15:25:29 +0100 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=E2=9C=A8=E3=80=8D=20feat(p2):=20succe?= =?UTF-8?q?ssfully=20migrated=20to=20alpine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- p2/Vagrantfile | 8 ++++---- p2/scripts/setup-S.sh | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/p2/Vagrantfile b/p2/Vagrantfile index c6eb468..dae13cd 100644 --- a/p2/Vagrantfile +++ b/p2/Vagrantfile @@ -23,17 +23,17 @@ end # • Be able to connect with SSH on both machines with no password. Vagrant.configure("2") do |config| - config.vagrant.plugins = [] + config.vm.box = "generic/alpine319" - config.vm.box = "debian/bookworm64" config.vm.provider "#{IOT_PROVIDER}" do |provider| - provider.cpus = 1 - provider.memory = 1024 + provider.cpus = 4 + provider.memory = 4096 end config.vm.define "#{IOT_LOGIN}S" do |server| server.vm.hostname = "#{IOT_LOGIN}S" server.vm.network "private_network", ip: "192.168.56.110", auto_config: true + server.vm.synced_folder ".", "/vagrant" server.vm.provision "shell", path: "scripts/setup-S.sh" server.vm.provision "shell", path: "scripts/deploy-apps.sh" diff --git a/p2/scripts/setup-S.sh b/p2/scripts/setup-S.sh index 5d92d9a..66af90a 100644 --- a/p2/scripts/setup-S.sh +++ b/p2/scripts/setup-S.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh -sudo apt update -sudo apt install curl -y - echo "Launching k3s install" curl -sfL https://get.k3s.io | sh -s - server --cluster-init --node-ip=192.168.56.110 + +echo Waiting +sleep 15