This repository was archived by the owner on May 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,18 @@ RUN apt-get update \
26
26
ebtables=2.0.10.4+snapshot20181205-1ubuntu1 \
27
27
dnsmasq-base=2.80-1ubuntu1 \
28
28
&& apt-get install -yq --no-install-recommends \
29
+ libxslt-dev=1.1.32-2ubuntu0.2 \
29
30
libxml2-dev=2.9.4+dfsg1-7ubuntu3 \
30
31
libvirt-dev=5.0.0-1ubuntu2.6 \
31
32
zlib1g-dev=1:1.2.11.dfsg-1ubuntu2 \
32
33
ruby-dev=1:2.5.1 \
33
- && sudo virsh net-autostart virbr0 \
34
+ # && libvirtd --daemon \
34
35
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
35
36
36
37
# Download and install Vagrant
37
38
RUN curl -O https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.deb \
38
39
&& apt install ./vagrant_2.2.7_x86_64.deb \
39
- && usermod -a -G libvirt gitpod \
40
+ && usermod -a -G libvirt,libvirtd gitpod \
40
41
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
41
42
42
43
USER gitpod
Original file line number Diff line number Diff line change 1
1
Vagrant . configure ( "2" ) do |config |
2
2
# Use Ubuntu 19.04 as the default box
3
3
config . vm . box = "generic/ubuntu1904"
4
+ config . vm . box_version = "2.0.6"
4
5
5
6
config . vm . provider :libvirt do |libvirt |
6
7
# Use QEMU session instead of system connection
You can’t perform that action at this time.
0 commit comments