feat: Mise à jour

This commit is contained in:
xavier committed 2024-03-13 23:14:26 +01:00
1 parent 6ebedbeca3
commit 91045fa232
19 files changed
+337 -27

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
# See https://microk8s.io/docs/install-lxd
lxc profile create microk8s
curl https://raw.githubusercontent.com/ubuntu/microk8s/master/tests/lxc/microk8s.profile | lxc profile edit microk8s
# Import the baseimage
lxc image copy ubuntu:lts local: --auto-update --copy-aliases
# Create an instance
lxc launch -p default -p microk8s ubuntu:lts microk8s
# Fix the ip address
lxc network attach lxdbr0 microk8s eth0 eth0
lxc config device set microk8s eth0 ipv4.address 10.162.242.10
# Install microk8s inside the container
lxc exec microk8s -- sudo snap install microk8s --classic