Skip to content

Commit

Permalink
Changes to make 'virsh console minikube' work.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitagarwal003 authored and dlorenc committed Jun 11, 2018
1 parent e47e372 commit 0df67ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deploy/iso/minikube-iso/board/coreos/minikube/isolinux.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ default 1
label 1
kernel /boot/bzImage
initrd /boot/initrd
append root=/dev/sr0 loglevel=3 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes
append root=/dev/sr0 loglevel=3 console=ttyS0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes
6 changes: 2 additions & 4 deletions pkg/drivers/kvm/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,10 @@ const domainTmpl = `
<model type='virtio'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target port='0'/>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target port='0'/>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<rng model='virtio'>
<backend model='random'>/dev/random</backend>
Expand Down

0 comments on commit 0df67ee

Please sign in to comment.