blob: cae4a6923caa7c023834b1f35aa131bb9cb715f8 (
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
|
#!/bin/bash
module_init() {
groupadd --system "kvm"
groupadd --system "libvirt-qemu"
useradd --gid "kvm" --groups "libvirt-qemu" --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"
}
|