Cyrille37 Messages: 6 Registered: April 2011 Location: Tours, France
Junior Member
From: *216.66-86.rev.gaoland.net
Hi,
My container startup is in interactive mode ... How to answer to it ?
Here is the container log :
...
raidautorun: failed to open /dev/md0: Operation not permitted
awk: cmd. line:1: fatal: cannot open file `/proc/misc' for reading (No such file or directory)
Mounting local filesystems: [ OK ]
ng /etc/fstab swaps: [ OK ]
INIT: Entering runlevel: 3
Entering interactive startup
Start service iscsid (Y)es/(N)o/(C)ontinue? [Y]
I'd try to start it with --wait, but it do not give the chance to answer to the interactive startup ...
# vzctl start 101 --wait
...
File resolv.conf was modified
Setting quota ugidlimit: 0
Container start in progress, waiting ...
I try "vzctl enter 101" but it does not work :
# vzctl enter 101
enter into CT 101 failed
Unable to open pty: No such file or directory
Have you got an idea ? Should the only solution is to destroy the VM ?
I don't know if this is what you are looking for, but you can disable the interactive prompts (so that your container will boot) by editing /etc/sysconfig/init and switching the PROMPT setting to no...
Cyrille37 Messages: 6 Registered: April 2011 Location: Tours, France
Junior Member
From: *216.66-86.rev.gaoland.net
Hi
and thanks for your answer.
The fact is that I didn't see that I can easily access to the container file-system to apply your trick and other configuration. I was afraid that VMs are contained in a obscure file like with VirtualBox.