mirror of
https://github.com/rancher/os.git
synced 2025-08-28 19:21:42 +00:00
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
This commit is contained in:
parent
4d473e8585
commit
0dc7a00e0e
@ -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/* \
|
||||
|
Loading…
Reference in New Issue
Block a user