Commit d842043f authored by Romain Courteaud's avatar Romain Courteaud

KVM 0.92 version is now installed by default.

Provides frontend access.
parent fabb6c8e
...@@ -54,13 +54,16 @@ ...@@ -54,13 +54,16 @@
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
\n \n
instance_xml = """<?xml version="1.0" encoding="utf-8"?>\n instance_xml = """<?xml version=\'1.0\' encoding=\'utf-8\'?>\n
<instance>\n <instance>\n
<parameter id="nbd_ip">2a01:e35:2e27:460:e2cb:4eff:fed9:48dc</parameter>\n <parameter id="frontend-instance-guid">SOFTINST-11031</parameter>\n
<parameter id="nbd_port">1024</parameter>\n <parameter id="frontend-software-type">frontend</parameter>\n
</instance>\n <parameter id="nbd_port">1024</parameter>\n
"""\n <parameter id="nbd_ip">debian.nbd.vifib.net</parameter>\n
url = "http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.33:/software/kvm/software.cfg"\n <parameter id="frontend-software-url">http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.92:/software/kvm/software.cfg</parameter>\n
</instance>"""\n
url = "http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.92:/software/kvm/software.cfg"\n
software_type = "kvm"\n
\n \n
person = portal.ERP5Site_getAuthenticatedMemberPersonValue()\n person = portal.ERP5Site_getAuthenticatedMemberPersonValue()\n
\n \n
...@@ -69,7 +72,7 @@ request_kw = {}\n ...@@ -69,7 +72,7 @@ request_kw = {}\n
request_kw.update(\n request_kw.update(\n
software_release=url,\n software_release=url,\n
software_title="Vifib KVM %i" % portal.portal_ids.generateNewId(id_group=("vifib", "kvm"), default=1),\n software_title="Vifib KVM %i" % portal.portal_ids.generateNewId(id_group=("vifib", "kvm"), default=1),\n
software_type="RootSoftwareInstance",\n software_type=software_type,\n
instance_xml=instance_xml,\n instance_xml=instance_xml,\n
sla_xml="",\n sla_xml="",\n
shared=False,\n shared=False,\n
......
383 384
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment