Sealing a CentOS-7 Guest as a oVirt Template

This is a multipart message in MIME format. ------=_NextPart_000_0061_01CFD378.998AF230 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello all, What is the recommended way to make an oVirt Template from a CentOS-7 Guest? Previously on CentOS-6 I used "sys-unconfig" or "touch /.unconfigured", but this is on CentOS-7 no longer possible. I can use on CentOS-7 the "nmtui" after the OS is loaded, but maybe someone knows a way to run it during the boot sequence. Thanks, Christian ------=_NextPart_000_0061_01CFD378.998AF230 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 = (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} code {mso-style-priority:99; font-family:"Courier New";} pre {mso-style-priority:99; mso-style-link:"HTML Preformatted Char"; margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.HTMLPreformattedChar {mso-style-name:"HTML Preformatted Char"; mso-style-priority:99; mso-style-link:"HTML Preformatted"; font-family:"Courier New"; mso-fareast-language:DE-AT;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DDE-AT link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hello = all,<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p = class=3DMsoNormal><span lang=3DEN-US>What is the recommended way to make = an oVirt Template from a CentOS-7 Guest?<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>Previously on CentOS-6 I used = “sys-unconfig” or “touch /.unconfigured”, but = this is on CentOS-7 no longer possible.<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>I can use on CentOS-7 the = “nmtui” after the OS is loaded, but maybe someone knows a = way to run it during the boot sequence…<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>Thanks,<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>Christian <o:p></o:p></span></p><p = class=3DMsoNormal><span = lang=3DEN-US> <o:p></o:p></span></p></div></body></html> ------=_NextPart_000_0061_01CFD378.998AF230--

On 18/09/14 19:41, Christian Rebel wrote:
Hello all,
What is the recommended way to make an oVirt Template from a CentOS-7 Guest?
Previously on CentOS-6 I used "sys-unconfig" or "touch /.unconfigured", but this is on CentOS-7 no longer possible.
I can use on CentOS-7 the "nmtui" after the OS is loaded, but maybe someone knows a way to run it during the boot sequence.
I'd recommend cloud-init for configuration-data. I have my own custom scripts as most solutions available clean not everything up you might want to have cleaned (logs, ssh keys, etc). HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
participants (2)
-
Christian Rebel
-
Sven Kieske