Skip to content

Commit

Permalink
Added nvi to the console image, for those who prefer that.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
justledbetter authored and olljanat committed Jun 23, 2021
1 parent 4d473e8 commit 0dc7a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/02-console/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/* \
Expand Down

0 comments on commit 0dc7a00

Please sign in to comment.