blob: 2b661f30f87e09f944d930b73252d4ee597a49b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
module_init() {
groupadd --system "kvm"
groupadd --system "libvirt-qemu"
groupadd --system "libvirt-passthrough"
useradd --gid "kvm" --groups "libvirt-qemu,libvirt-passthrough" --system \
--no-create-home --home-dir "/var/lib/libvirt" "libvirt-qemu"
}
fetch_source() {
:
}
build() {
:
}
post_copy() {
# remove default network configuration
# TODO: Some REQUIRED_DELETIONS var that handles this? This would not
# do the right thing in MiniLinux mode.
rm "/etc/libvirt/qemu/networks/default.xml"
rm "/etc/libvirt/qemu/networks/autostart/default.xml"
}
|