mirror of https://gitee.com/openkylin/libvirt.git
Wed Mar 07 11:53:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/default-network.xml: add a default network * qemud/Makefile.am: install it, and the autostart symlink * libvirt.spec.in: update
This commit is contained in:
parent
5fb88728f0
commit
60796a554b
|
@ -1,3 +1,11 @@
|
|||
Wed Mar 07 11:53:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
|
||||
|
||||
* qemud/default-network.xml: add a default network
|
||||
|
||||
* qemud/Makefile.am: install it, and the autostart symlink
|
||||
|
||||
* libvirt.spec.in: update
|
||||
|
||||
Tue Mar 06 17:02:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/hash.c: virGetDomain and virGetNetwork require that both
|
||||
|
|
|
@ -96,6 +96,8 @@ fi
|
|||
%config %{_sysconfdir}/libvirt/
|
||||
%config %{_sysconfdir}/libvirt/qemu/
|
||||
%config %{_sysconfdir}/libvirt/qemu/networks/
|
||||
%config %{_sysconfdir}/libvirt/qemu/networks/default.xml
|
||||
%config %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
|
||||
%{_sysconfdir}/rc.d/init.d/libvirtd
|
||||
%{_localstatedir}/run/libvirt/
|
||||
%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
|
||||
|
|
|
@ -20,7 +20,17 @@ libvirt_qemud_LDFLAGS = $(LIBXML_LIBS) $(SYSFS_LIBS)
|
|||
libvirt_qemud_DEPENDENCIES =
|
||||
libvirt_qemud_LDADD =
|
||||
|
||||
EXTRA_DIST = libvirtd.in
|
||||
install-data-local:
|
||||
mkdir -p $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart
|
||||
$(INSTALL_DATA) $(srcdir)/default-network.xml $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/default.xml
|
||||
ln -s ../default.xml $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml
|
||||
rm -f $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/default.xml
|
||||
rmdir $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart || :
|
||||
|
||||
EXTRA_DIST = libvirtd.in default-network.xml
|
||||
|
||||
if LIBVIRT_INIT_SCRIPTS_RED_HAT
|
||||
initdir = $(sysconfdir)/rc.d/init.d
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<network>
|
||||
<name>default</name>
|
||||
<bridge name="virbr0" />
|
||||
<ip address="192.168.122.1" netmask="255.255.255.0">
|
||||
<dhcp>
|
||||
<range start="192.168.122.2" end="192.168.122.254" />
|
||||
</dhcp>
|
||||
</ip>
|
||||
</network>
|
Loading…
Reference in New Issue