File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,12 @@ dependencies:
71
71
- path : hack/ci/Vagrantfile-fedora
72
72
match : fedora
73
73
74
+ - name : e2e-fedora-image-url
75
+ version : 39-1.5
76
+ refPaths :
77
+ - path : hack/ci/Vagrantfile-fedora
78
+ match : config.vm.box_url
79
+
74
80
- name : e2e-ubuntu
75
81
version : ubuntu2204
76
82
refPaths :
Original file line number Diff line number Diff line change 4
4
# Vagrant box for testing
5
5
Vagrant . configure ( "2" ) do |config |
6
6
config . vm . box = "fedora/39-cloud-base"
7
- config . vm . box_url = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-Base-Vagrant-39-1.5.x86_64.vagrant-virtualbox.box "
7
+ config . vm . box_url = "override-by-provider "
8
8
memory = 8192
9
9
cpus = 4
10
10
11
11
config . vm . provider :virtualbox do |v |
12
+ v . vm . box_url = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-Base-Vagrant-39-1.5.x86_64.vagrant-virtualbox.box"
12
13
v . memory = memory
13
14
v . cpus = cpus
14
15
end
15
16
16
17
config . vm . provider :libvirt do |v |
18
+ v . vm . box_url = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-Base-Vagrant-39-1.5.x86_64.vagrant-libvirt.box"
17
19
v . memory = memory
18
20
v . cpus = cpus
19
21
end
Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ IP=$(ip route get 1.2.3.4 | cut -d ' ' -f7 | tr -d '[:space:]')
20
20
swapoff -a
21
21
modprobe br_netfilter
22
22
sysctl -w net.ipv4.ip_forward=1
23
- echo " Number of cpus"
24
- nproc
25
- echo " kubeadm init"
23
+ echo " Number of CPUs: $( nproc) "
26
24
kubeadm init --apiserver-cert-extra-sans=" $IP "
27
25
28
26
# Setup kubectl
You can’t perform that action at this time.
0 commit comments