From 0dc7a00e0e8ccae1b8492214e0d97a7e229fd8e2 Mon Sep 17 00:00:00 2001 From: Brian Ledbetter Date: Wed, 23 Jun 2021 08:17:52 -0400 Subject: [PATCH] Added nvi to the console image, for those who prefer that. No net increase in image size: Before: $ ls -l ./dist/artifacts/burmillaos.iso -rw-r--r-- 1 brian brian 242221056 Jun 23 07:54 ./dist/artifacts/burmillaos.iso After adding nvi: -rw-r--r-- 1 brian brian 242221056 Jun 23 08:05 ./dist/artifacts/burmillaos.iso Net filesize on disk is around 476k: $ make run ... rancher@rancher-dev:~$ which vi /usr/bin/vi rancher@rancher-dev:~$ ls -l /usr/bin/vi lrwxrwxrwx 1 root root 20 Jun 23 12:01 /usr/bin/vi -> /etc/alternatives/vi rancher@rancher-dev:~$ ls -l /etc/alternatives/vi lrwxrwxrwx 1 root root 12 Jun 23 12:01 /etc/alternatives/vi -> /usr/bin/nvi rancher@rancher-dev:~$ ls -l /usr/bin/nvi -rwxr-xr-x 3 root root 476312 Dec 4 2018 /usr/bin/nvi --- images/02-console/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/02-console/Dockerfile b/images/02-console/Dockerfile index 7345f3455..948530417 100644 --- a/images/02-console/Dockerfile +++ b/images/02-console/Dockerfile @@ -7,7 +7,7 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends iptables openssh-server rsync locales \ sudo less curl ca-certificates psmisc htop kmod iproute2 \ net-tools bash-completion wget \ - nano open-iscsi iputils-ping \ + nano open-iscsi iputils-ping nvi \ && update-alternatives --set iptables /usr/sbin/iptables-legacy \ && update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy \ && rm -rf /var/lib/apt/lists/* \