[pve-devel] [PATCH] add solaris ostype

Alexandre Derumier aderumier at odiso.com
Tue Sep 24 10:05:09 CEST 2013


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 www/manager/Utils.js           |    3 ++-
 www/manager/qemu/OSTypeEdit.js |    5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/www/manager/Utils.js b/www/manager/Utils.js
index 8165e7a..d301395 100644
--- a/www/manager/Utils.js
+++ b/www/manager/Utils.js
@@ -117,7 +117,8 @@ Ext.define('PVE.Utils', { statics: {
 	win7: 'Microsoft Windows 7/2008r2',
 	win8: 'Microsoft Windows 8/2012',
 	l24: 'Linux 2.4 Kernel',
-	l26: 'Linux 3.X/2.6 Kernel'
+	l26: 'Linux 3.X/2.6 Kernel',
+	solaris: 'Solaris Kernel'
     },
 
     render_kvm_ostype: function (value) {
diff --git a/www/manager/qemu/OSTypeEdit.js b/www/manager/qemu/OSTypeEdit.js
index e6eb0db..32715c9 100644
--- a/www/manager/qemu/OSTypeEdit.js
+++ b/www/manager/qemu/OSTypeEdit.js
@@ -57,6 +57,11 @@ Ext.define('PVE.qemu.OSTypeInputPanel', {
 	    {
 		xtype: 'radiofield',
 		name: 'ostype',
+		inputValue: 'solaris'
+	    },
+	    {
+		xtype: 'radiofield',
+		name: 'ostype',
 		inputValue: 'other'
 	    }
 	];
-- 
1.7.10.4




More information about the pve-devel mailing list