Displaying 4 results from an estimated 4 matches for "start_dnsmasq".
2010 Mar 31
1
Incomplete patch
This patch is non-functional at this point; i.e., while it seems to meet
the requirements for having libvirt using the specified TFTP root
specified, libvirt seems to not be doing so.
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...40,7 @@
# an ISO file.
ME=$(basename "$0")
+WORKDIR=$(mktemp -d)
warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
die() { warn "$*"; exit 1; }
debug() { if $debugging; then log "[DEBUG] %s" "$*"; fi }
@@ -140,7 +141,7 @@ start_dnsmasq () {
--dhcp-boot=tftpboot/pxelinux.0
--enable-tftp
--tftp-root=${tftproot}
- --log-facility=/tmp/dnsmasq-${nodename}.log
+ --log-facility=$WORKDIR/dnsmasq-${nodename}.log
--log-querie...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...\n${definition}"
+ sudo bash -c "printf \"${definition}\" > $pxedefault"
+}
+
+# Starts a simple instance of dnsmasq.
+# $1 - the iface on which dnsmasq works
+# $2 - the root for tftp files
+# $3 - the mac address for the node (ignored if blank)
+# $4 - the nodename
+start_dnsmasq () {
+ local iface=$1
+ local tftproot=$2
+ local macaddress=$3
+ local nodename=$4
+ local pidfile=$2/dnsmasq.pid
+
+ stop_dnsmasq
+ debug "Starting dnsmasq"
+ dns_startup="sudo /usr/sbin/dnsmasq --read-ethers
+ --dhcp-range=${NETWORK}.100,$...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...set default kernel arguments if none were provided
# the defaults boot in standalone mode
if [ -z "$kernelargs" ]; then
- kernelargs="ovirt_standalone"
+ kernelargs="standalone"
fi
local definition="DEFAULT pxeboot"
@@ -133,18 +132,18 @@ start_dnsmasq () {
stop_dnsmasq
debug "Starting dnsmasq"
dns_startup="sudo /usr/sbin/dnsmasq --read-ethers
- --dhcp-range=${NETWORK}.100,${NETWORK}.254,255.255.255.0,24h
- --conf-file=
-...