diff options
author | 2018-10-31 18:44:37 +0100 | |
---|---|---|
committer | 2018-11-02 16:53:27 +0100 | |
commit | 1f78f24db0ccafed4016f273998e7699a65a5859 (patch) | |
tree | 7b4a7f8c0f4090426cf6711d5da90a7146012818 /xci/playbooks/roles/create-nodes | |
parent | 348bb6a8cea2b12ceca8941fa46e8290b18f0a55 (diff) |
Simplify the serial config
The current configuration only dumps the booting info into a file and
the pty does not work (i.e. virsh console opnfv returns a failure
because it cannot find a character device). After some investigations,
it is apparently impossible to have both active:
https://github.com/Mirantis/virtlet/issues/249
Therefore, we should remove the pty part of the xml. To connect to the
VM in case of network problems, we can always use vnc.
Apart from that, the console part is not necessary as libvirt will
create that one for us
Change-Id: I80a59163b4ba4e6bff34cb5378893201e93ddb87
Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'xci/playbooks/roles/create-nodes')
-rw-r--r-- | xci/playbooks/roles/create-nodes/templates/vm.xml.j2 | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/xci/playbooks/roles/create-nodes/templates/vm.xml.j2 b/xci/playbooks/roles/create-nodes/templates/vm.xml.j2 index 6061fc52..9fad42b8 100644 --- a/xci/playbooks/roles/create-nodes/templates/vm.xml.j2 +++ b/xci/playbooks/roles/create-nodes/templates/vm.xml.j2 @@ -59,19 +59,9 @@ </video> <serial type='file'> <source path='{{ vm_log_file }}'/> - <target port='0'/> - <alias name='serial0'/> - </serial> - <serial type='pty'> - <source path='/dev/pts/49'/> <target port='1'/> <alias name='serial1'/> </serial> - <console type='file'> - <source path='{{ vm_log_file }}'/> - <target type='serial' port='0'/> - <alias name='serial0'/> - </console> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </memballoon> |