Skip to content

Commit

Permalink
libvirt: Mount host's /sys inside the libvirtd container
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiand committed Jan 9, 2017
1 parent 9cfd173 commit a2c2e59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/libvirtd/libvirtd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ mkdir /odev && {
mount --rbind /dev/pts/ptmx /dev/ptmx
# Use the original /dev/kvm if available
[[ -e /odev/lvm ]] && mount --rbind /odev/kvm /dev/kvm

mount --rbind /host/sys /sys
}

/usr/sbin/virtlogd &
Expand Down

0 comments on commit a2c2e59

Please sign in to comment.