From ac8f96b1cb3a5a8f8e7b45c6a3115b7f501e7f66 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Thu, 17 Oct 2024 10:10:38 -0700 Subject: [PATCH] Update vagrant file to newer OS Signed-off-by: Derek Nola --- Vagrantfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 2df9ba22b..12ba122c7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,6 +1,6 @@ # ENV['VAGRANT_NO_PARALLEL'] = 'no' NODE_ROLES = ["server-0", "server-1", "server-2", "agent-0", "agent-1"] -NODE_BOXES = ['generic/ubuntu2004', 'generic/ubuntu2004', 'generic/ubuntu2004', 'generic/ubuntu2004', 'generic/ubuntu2004'] +NODE_BOXES = ['bento/ubuntu-24.04', 'bento/ubuntu-24.04', 'bento/ubuntu-24.04', 'bento/ubuntu-24.04', 'bento/ubuntu-24.04'] NODE_CPUS = 2 NODE_MEMORY = 2048 # Virtualbox >= 6.1.28 require `/etc/vbox/network.conf` for expanded private networks @@ -26,14 +26,16 @@ def provision(vm, role, node_num) "k3s_cluster:children" => ["server", "agent"], } ansible.extra_vars = { - k3s_version: "v1.26.9+k3s1", + k3s_version: "v1.28.14+k3s1", api_endpoint: "#{NETWORK_PREFIX}.100", token: "myvagrant", # Required to use the private network configured above extra_server_args: "--node-external-ip #{node_ip} --flannel-iface eth1", extra_agent_args: "--node-external-ip #{node_ip} --flannel-iface eth1", + # Airgap setup, left as reference + # airgap_dir: "./my_airgap", # Optional, left as reference for ruby-ansible syntax - # extra_service_envs: [ "NO_PROXY='localhost'" ], + extra_service_envs: [ "NO_PROXY='localhost'" ], # server_config_yaml: <<~YAML # write-kubeconfig-mode: 644 # kube-apiserver-arg: