[pve-devel] [PATCH manager 2/2] ui: restore: display "Hostname" for container

Fabian Ebner f.ebner at proxmox.com
Thu Apr 28 09:04:09 CEST 2022


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 www/manager6/window/Restore.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/window/Restore.js b/www/manager6/window/Restore.js
index 9f52c872..afac38ba 100644
--- a/www/manager6/window/Restore.js
+++ b/www/manager6/window/Restore.js
@@ -304,7 +304,7 @@ Ext.define('PVE.window.Restore', {
 	    items: [
 		{
 		    xtype: 'textfield',
-		    fieldLabel: gettext('Name'),
+		    fieldLabel: me.vmtype === 'lxc' ? gettext('Hostname') : gettext('Name'),
 		    name: 'name',
 		    reference: 'nameField',
 		    allowBlank: true,
-- 
2.30.2






More information about the pve-devel mailing list