Aug 18, 2009 at 10:09 AM, Uwe Gansert<ug@suse.de> wrote:
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: <ac_item>recover_system_finish</ac_item> </ac_items> </ac_step> </automatic_configuration> But this is too early in the installation I've tried to add this call into the workflow right before the congratulate: <module> <name>recover_system_finish</name> <label>Finish Recover System</label> <execute>inst_recover_system_finish</execute> </module> <module> <name>congratulate</name> </module> but the module is disabled by the inst_inc_second.ycp module. i guess i've missed some hook to make it enabled! Thanks a lot -- Leonardo Luiz Padovani da Mata barroca@gmail.com "May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?" -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org