Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit e00f94a

Browse files
committed
More vagrant
1 parent 85730bb commit e00f94a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitpod.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ RUN apt-get update \
2626
ebtables=2.0.10.4+snapshot20181205-1ubuntu1 \
2727
dnsmasq-base=2.80-1ubuntu1 \
2828
&& apt-get install -yq --no-install-recommends \
29+
libxslt-dev=1.1.32-2ubuntu0.2 \
2930
libxml2-dev=2.9.4+dfsg1-7ubuntu3 \
3031
libvirt-dev=5.0.0-1ubuntu2.6 \
3132
zlib1g-dev=1:1.2.11.dfsg-1ubuntu2 \
3233
ruby-dev=1:2.5.1 \
33-
&& sudo virsh net-autostart virbr0 \
34+
# && libvirtd --daemon \
3435
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
3536

3637
# Download and install Vagrant
3738
RUN curl -O https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.deb \
3839
&& apt install ./vagrant_2.2.7_x86_64.deb \
39-
&& usermod -a -G libvirt gitpod \
40+
&& usermod -a -G libvirt,libvirtd gitpod \
4041
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
4142

4243
USER gitpod

Vagrantfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Vagrant.configure("2") do |config|
22
# Use Ubuntu 19.04 as the default box
33
config.vm.box = "generic/ubuntu1904"
4+
config.vm.box_version = "2.0.6"
45

56
config.vm.provider :libvirt do |libvirt|
67
# Use QEMU session instead of system connection

0 commit comments

Comments
 (0)