Artifact be0f1f2714e89e6aa055dd9bff097a301ebc37f3:
- Executable file build/qemu/root/bin/init-networking — part of check-in [a39441abc1] at 2020-06-28 02:42:32 on branch trunk — Added basic QEMU demo (user: rkeene, size: 336) [annotate] [blame] [check-ins using]
#! /bin/tclkit package require tuapi ::tuapi::scan_and_load_kernel_modules ::tuapi::ifconfig eth0 address 10.0.2.15 netmask 255.255.255.0 flags {BROADCAST MULTICAST UP} ::tuapi::syscall::route add 0.0.0.0 0.0.0.0 gateway 10.0.2.2 dev eth0 file mkdir /etc set fd [open /etc/resolv.conf w] puts $fd "nameserver 10.0.2.3" close $fd