mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-16 13:25:22 +00:00
lxc GUI: implement console mode option
This commit is contained in:
parent
043f17dc74
commit
62fb1d2d65
@ -54,6 +54,27 @@ Ext.define('PVE.lxc.Options', {
|
|||||||
rootfs: {
|
rootfs: {
|
||||||
header: gettext('Root Disk'),
|
header: gettext('Root Disk'),
|
||||||
defaultValue: 'no set'
|
defaultValue: 'no set'
|
||||||
|
},
|
||||||
|
cmode: {
|
||||||
|
header: gettext('Console mode'),
|
||||||
|
defaultValue: 'tty',
|
||||||
|
editor: caps.vms['VM.Config.Options'] ? {
|
||||||
|
xtype: 'pveWindowEdit',
|
||||||
|
subject: gettext('Console mode'),
|
||||||
|
items: {
|
||||||
|
xtype: 'pveKVComboBox',
|
||||||
|
name: 'cmode',
|
||||||
|
deleteEmpty: true,
|
||||||
|
value: '',
|
||||||
|
data: [
|
||||||
|
['', PVE.Utils.defaultText + " (tty)"],
|
||||||
|
['tty', "/dev/tty[X]"],
|
||||||
|
['console', "/dev/console"],
|
||||||
|
['shell', "shell"]
|
||||||
|
],
|
||||||
|
fieldLabel: gettext('Console mode')
|
||||||
|
}
|
||||||
|
} : undefined
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user