guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network with QEMU generated image (guix system vm)?


From: Jan Nieuwenhuizen
Subject: Re: Network with QEMU generated image (guix system vm)?
Date: Sat, 24 Sep 2016 22:16:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

ng0 writes:

> I feel like this should be documented better, because I can't figure it
> out.

I'm doing something like

    /gnu/store/cgb3rvmyddy114vzp9xk2y05vwn3ka18-run-vm.sh -net nic -net 
user,hostfwd=tcp::2223-:2222,hostfwd=tcp::3001-:3000,hostfwd=tcp::5433-:5432&

together with (dhcp-client-service) you can connect in (via port
forwarding) and out.

Another trick that I use and would be nice easier accessible is to have
the console output to your terminal (or emacs shell) like so

    sed -e 's,-append ",-append "console=ttyS0 ,' 
/gnu/store/s5y87jg79gh3nw8lv3q3rrj1i8wafmaj-run-vm.sh > vm.sh
    chmod +x vm.sh

instead of the graphical box popup.

HTH,
Jan

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]