mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Although Li Ge has had problems with this script he had trouble with the previous too. I think this new one should work for more people, particularly those using DHCP on their primary dom0 interface.
Debugging is currently enabled ("sh -x") so a log of the script's execution is output to /var/log/xend.log
Signed-off-by: ian@xensource.com
--HG--
rename : tools/examples/network => tools/examples/network-bridge
55 lines
1.8 KiB
Plaintext
55 lines
1.8 KiB
Plaintext
# Xend configuration file.
|
|
|
|
# Port xend should use for the HTTP interface.
|
|
(xend-port 8000)
|
|
|
|
# Port xend should use for the event interface.
|
|
(xend-event-port 8001)
|
|
|
|
# Address xend should listen on for HTTP connections.
|
|
# Specifying 'localhost' prevents remote connections.
|
|
# Specifying the empty string '' allows all connections.
|
|
(xend-address 'localhost')
|
|
|
|
# The port xend should start from when allocating a port
|
|
# for a domain console.
|
|
(console-port-base 9600)
|
|
|
|
# Address xend should listen on for console connections.
|
|
# Specifying 'localhost' prevents remote connections.
|
|
# Specifying the empty string '' allows all connections.
|
|
(console-address 'localhost')
|
|
|
|
## Use the following if VIF traffic is routed.
|
|
# The script used to start/stop networking for xend.
|
|
#(network-script network-route)
|
|
# The default script used to control virtual interfaces.
|
|
#(vif-script vif-route)
|
|
|
|
## Use the following if VIF traffic is bridged.
|
|
# The script used to start/stop networking for xend.
|
|
(network-script network-bridge)
|
|
# The default bridge that virtual interfaces should be connected to.
|
|
(vif-bridge xen-br0)
|
|
# The default script used to control virtual interfaces.
|
|
(vif-script vif-bridge)
|
|
|
|
# Whether iptables should be set up to prevent IP spoofing for
|
|
# virtual interfaces. Specify 'yes' or 'no'.
|
|
(vif-antispoof no)
|
|
|
|
# Setup script for file-backed block devices
|
|
(block-file block-file)
|
|
|
|
# Setup script for enbd-backed block devices
|
|
(block-enbd block-enbd)
|
|
|
|
# Dom0 will balloon out when needed to free memory for domU.
|
|
# dom0-min-mem is the lowest memory level (in MB) dom0 will get down to.
|
|
# If dom0-min-mem=0, dom0 will never balloon out.
|
|
(dom0-min-mem 0)
|
|
|
|
# In SMP system, dom0 will use only CPUs in range [1,dom0-cpus]
|
|
# If dom0-cpus = 0, dom0 will take all cpus available
|
|
(dom0-cpus 0)
|