Skip to content

Commit cd3b360

Browse files
committed
Update virtual machine building files to Ubuntu 18.04
1 parent cc2b3d2 commit cd3b360

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

contrib/vm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This is optional, if you are willing to dedicate a physical machine to SageCell,
2626
./build_host.sh
2727
```
2828

29-
(If your `virt-install` does not understand `OSVARIANT=ubuntuxenial`, you may try a different version of Ubuntu here, while keeping the same `LOCATION`, `virt-install --os-variant list` may be useful. Using a different base OS is probably possible, but will likely require further changes to build commands.)
29+
(If your `virt-install` does not understand `OSVARIANT=ubuntu18.04`, you may try a different version of Ubuntu here, while keeping the same `LOCATION`, `osinfo-query os` may be useful. Using a different base OS is probably possible, but will likely require further changes to build commands.)
3030

3131
7. You should get `ssh_host.sh` script that allows you to SSH as root to EVM. If it does not work, you probably need to adjust the IP address in it manually. Note that root password is disabled, you must use the SSH key generated during installation.
3232

contrib/vm/build_host.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ APTPROXY="http://your-proxy-here-or-delete-proxy-from-preseed/"
77
MAC=52:54:00:5a:9e:c1 # Must start with 52:54:00
88

99
VM_NAME=schostvm
10-
OSVARIANT=ubuntu16.04
11-
LOCATION="http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/"
10+
OSVARIANT=ubuntu18.04
11+
LOCATION="http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/"
1212

1313
sed "s|APTPROXY|$APTPROXY|" preseed.host > preseed.cfg
1414

contrib/vm/preseed.host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ d-i passwd/make-user boolean false
7777
tasksel tasksel/first multiselect openssh-server, server, standard
7878

7979
# Individual additional packages to install
80-
d-i pkgsel/include string haproxy lxc python3-psutil python3-yaml rsyslog-relp
80+
d-i pkgsel/include string haproxy lxc python3-lxc python3-psutil rsyslog-relp
8181

8282
# Whether to upgrade packages after debootstrap.
8383
# Allowed values: none, safe-upgrade, full-upgrade

0 commit comments

Comments
 (0)