From 9e4dc03c3fbdc06f537c47ea1ad1e36aef8790bd Mon Sep 17 00:00:00 2001 From: Pierre Neyron <pierre.neyron@imag.fr> Date: Thu, 15 Jun 2023 15:57:48 +0200 Subject: [PATCH] [vagrant] do not set the serial console in miniOS, so that the interactive console goes to the vagrant screen Useful for instance if enabling an initramfs breakpoint (e.g. add `break=premount` in the kernel cmdline) Another option is to enable kaconsole in the vagrant env, e.g. by configuring nodes to expose the virtual serial ports on TCP ports (supported by virtualbox) than configuring the cluster to use them with netcat. --- vagrant-env/kadeploy_conf/sample-cluster.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vagrant-env/kadeploy_conf/sample-cluster.conf b/vagrant-env/kadeploy_conf/sample-cluster.conf index b07f70e3..70af3691 100644 --- a/vagrant-env/kadeploy_conf/sample-cluster.conf +++ b/vagrant-env/kadeploy_conf/sample-cluster.conf @@ -30,7 +30,7 @@ boot: deploy: initrd: kernels/kadeploy3-deploy-kernel-buster.initrd.img vmlinuz: kernels/kadeploy3-deploy-kernel-buster.vmlinuz - params: ETH_DEV=eth0 console=tty0 console=ttyS0,115200 ramdisk_size=260000 rw root=/root.tmp net.ifnames=0 biosdevname=0 + params: ETH_DEV=eth0 console=tty0 ramdisk_size=260000 rw root=/root.tmp net.ifnames=0 biosdevname=0 break=premount supported_fs: ext2, ext3, ext4 user: params: console=ttyS0,115200 -- GitLab