<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello Emma,</div>
<div>Hello xen-tools List,</div>
<div> </div>
<div>There exist an patch for xen-tools for use perl-expect aka "expect" tool for bypass _any_ hash calculation - instead using expect passwd chats .</div>
<div>This had been created for opensuse 13.1 and up unattented autodeploys while using xen/kvm native installs ...</div>
<div> </div>
<div>"hash methode" expect Patch can be found here :</div>
<div>https://github.com/remsnet/xen-tools/blob/master/opensuse13.1-patches/opensuse-13.1-passwd_fix-with_hash-method-expect.patch</div>
<div> </div>
<div>sample expect chat script :</div>
<div>https://github.com/remsnet/xen-tools/blob/master/etc/expect/opensuse-13.1-passwd.exp</div>
<div> </div>
<div>As far as i know Axel don´t liked the idea - but it works !</div>
<div>Tested successfully as well on slackware, centos, redhad,sless guests.</div>
<div><br/>
</div>
<div class="signature">--<br/>
Mit freundlichen Grüßen / Best Regards<br/>
<br/>
Horst Venzke ; PGP NET : 1024G/082F2E6D ; http://www.remsnet.de<br/>
<br/>
Legal Notice: This transmittal and/or attachments may be privileged or confidential. It is intended solely for the addressee named above. Any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you.</div>
<div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 18. Februar 2015 um 14:36 Uhr<br/>
<b>Von:</b> "Emma Anderson" <em.anderson88@yahoo.com><br/>
<b>An:</b> "xen-tools-discuss@xen-tools.org" <xen-tools-discuss@xen-tools.org><br/>
<b>Betreff:</b> [xen-tools-discuss] non-interactive xen image build</div>
<div name="quoted-content">
<div style="color: rgb(0,0,0);background-color: rgb(255,255,255);font-family: HelveticaNeue , Helvetica Neue , Helvetica , Arial , Lucida Grande , Sans-Serif;font-size: 16.0px;">
<div id="yui_3_16_0_1_1423767170539_2387">Hi,</div>
<div id="yui_3_16_0_1_1423767170539_2338"> </div>
<div id="yui_3_16_0_1_1423767170539_2320">I would like to create a xen image using xen-create-image and parameter --password to automatically set root password. But xen-create-image still asks for root password during image creation. How I can make this process totally non-interactive?</div>
<div id="yui_3_16_0_1_1423767170539_2483"> </div>
Thanks.
<div id="yui_3_16_0_1_1424266275765_8734"> </div>
</div>
_______________________________________________ xen-tools-discuss mailing list xen-tools-discuss@xen-tools.org <a href="https://xen-tools.org/mailman/listinfo/xen-tools-discuss" target="_blank">https://xen-tools.org/mailman/listinfo/xen-tools-discuss</a></div>
</div>
</div>
</div></div></body></html>