9 lines
272 B
Bash
Executable File
9 lines
272 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -z "$QEMU_MEMORY" ]
|
|
then
|
|
QEMU_MEMORY="64M"
|
|
fi
|
|
|
|
qemu-system-arm -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=$QEMU_MEMORY" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup
|