forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to decentralized libvirtd-per-pod
Signed-off-by: David Vossel <[email protected]>
- Loading branch information
1 parent
4c56078
commit 58b636a
Showing
75 changed files
with
1,907 additions
and
2,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,6 @@ FROM fedora:27 | |
|
||
MAINTAINER "The KubeVirt Project" <[email protected]> | ||
|
||
ENV LIBVIRT_VERSION 3.7.0 | ||
|
||
RUN dnf -y install libvirt-client-${LIBVIRT_VERSION} genisoimage && \ | ||
groupadd --gid 107 qemu && \ | ||
useradd --uid 107 --gid 107 qemu && \ | ||
dnf -y clean all | ||
|
||
COPY virt-handler /virt-handler | ||
|
||
ENTRYPOINT [ "/virt-handler" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,16 +16,30 @@ | |
# Copyright 2017 Red Hat, Inc. | ||
# | ||
|
||
FROM fedora:27 | ||
FROM kubevirt/libvirt | ||
|
||
MAINTAINER "The KubeVirt Project" <[email protected]> | ||
|
||
RUN dnf -y install socat && \ | ||
groupadd --gid 107 qemu && \ | ||
useradd --uid 107 --gid 107 qemu && \ | ||
dnf -y clean all | ||
RUN dnf -y install \ | ||
socat \ | ||
genisoimage \ | ||
util-linux \ | ||
libcgroup-tools \ | ||
ethtool \ | ||
sudo && dnf -y clean all && \ | ||
test $(id -u qemu) = 107 # make sure that the qemu user really is 107 | ||
|
||
COPY sock-connector /sock-connector | ||
COPY virt-launcher /virt-launcher | ||
|
||
ENTRYPOINT [ "/virt-launcher" ] | ||
COPY kubevirt-sudo /etc/sudoers.d/kubevirt | ||
RUN chmod 0640 /etc/sudoers.d/kubevirt | ||
|
||
# libvirtd.sh in this image differs from upstream | ||
RUN rm -f /libvirtd.sh | ||
COPY libvirtd.sh /libvirtd.sh | ||
RUN chmod a+x /libvirtd.sh | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT [ "/entrypoint.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
./virt-launcher $@ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.