From c0ca9dab73c4690c4d1b75e59d68003220656a2d Mon Sep 17 00:00:00 2001 From: Laszlo Gombos Date: Sat, 18 Nov 2023 15:12:43 -0500 Subject: [PATCH] vm: do not require system utilities --- embedded/defaults/colima.yaml | 7 +++++-- environment/vm/lima/deb/mantic.go | 2 -- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/embedded/defaults/colima.yaml b/embedded/defaults/colima.yaml index 61e529865..131f2d343 100644 --- a/embedded/defaults/colima.yaml +++ b/embedded/defaults/colima.yaml @@ -139,7 +139,7 @@ cpuType: host # EXAMPLE - script executed as root # provision: # - mode: system -# script: apk add htop vim +# script: apt-get install htop vim # # EXAMPLE - script executed as user # provision: @@ -150,7 +150,10 @@ cpuType: host # touch ~/.provision # # Default: [] -provision: [] +provision: + - mode: system + # utilities + script: apt update -y && apt-get install htop vim inetutils-ping dnsutils --qq # Modify ~/.ssh/config automatically to include a SSH config for the virtual machine. # SSH config will still be generated in ~/.colima/ssh_config regardless. diff --git a/environment/vm/lima/deb/mantic.go b/environment/vm/lima/deb/mantic.go index 3eedfd085..cdf79f864 100644 --- a/environment/vm/lima/deb/mantic.go +++ b/environment/vm/lima/deb/mantic.go @@ -12,8 +12,6 @@ var manticPackages = []string{ "iptables", // k8s "socat", - // utilities - "htop", "vim", "inetutils-ping", "dnsutils", } var _ URISource = (*Mantic)(nil)