Aug 18, 2009 at 10:09 AM, Uwe Gansert
on Tuesday 18 August 2009 Leonardo L. P. da Mata wrote:
I tried "yast2 clone_system" and I tried the "Clone" button in the autoyast UI. Both created profiles contained the local user "uwe". How exactly do you clone?
if you call the clone_system inside the installed system, it will produce the correct profiles, but i'm trying to call those during the installation, inserting a new module in the workflow of the installation.
okay, that's a bit of the road of what we support ;) but actually that should work fine, if you dont clone too early. As last module in the second stage of the installation it should work. At which stage of the installation do you clone? How do you clone? Did you write an own client?
i have my own client (named inst_recover_system_finish) but it just
calls the AutoinstClone function:
AutoinstClone::Write(recover_system+"/test_clone.xml");
this is just a call to:
XML::YCPToXMLFile(`profile, Profile::current, recover_system+"/autoyast.xml");
booth files test_clone.xml and autoyast.xml have the same content..
to call this module i added it in the automatic_configuration step: