:: Re: [DNG] Just out of curiosity, I …
Góra strony
Delete this message
Reply to this message
Autor: Svante Signell
Data:  
Dla: dng
Temat: Re: [DNG] Just out of curiosity, I wondered,
On Wed, 2017-08-09 at 10:13 +0200, Narcis Garcia wrote:
> El 08/08/17 a les 23:28, zap ha escrit:
> > how do you enable internet in a virtual machine with qemu?
> >
> > I wanted to try to see how effectively certain distros such as gnuinos
> > and vuu-do work through qemu with upgrading actually working...


> I recommend you:
> $ qemu-system-x86_64 -cpu host -enable-kvm -m 1024 -net
> nic,model=rtl8139,vlan=0 -net user,vlan=0 -cdrom
> devuan_jessie_1.0.0_amd64_desktop-live.iso


Or you can use port forwarding:
qemu-system-x86_64 -cpu host -enable-kvm -m 1024 -net nic,model=e1000 -net
user,hostfwd=tcp::5556-:22 ...

ssh -p 5556 localhost/<your external IP-address>