[opensuse-autoinstall] Exporting users during installation
Hello, I need to clone the installation information to be used with autoyast. there is a module called AutoinstClone that can export this information, it reads the Profile::current data and exports this information using XML::YCPToXMLFile module. This profile contains an entry for users, but this entry only contains the root user, if i create one user called "leonardo" during the installation it doesn't appear in this profile. Does anyone knows how to export the information about this initial user created during installation? i need to create this autoyast file automatic, i really need to do it during the installation process without user interference. Thank you -- 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
on Monday 17 August 2009 Leonardo L. P. da Mata wrote:
Hello, I need to clone the installation information to be used with autoyast. there is a module called AutoinstClone that can export this information, it reads the Profile::current data and exports this information using XML::YCPToXMLFile module. This profile contains an entry for users, but this entry only contains the root user, if i create one user called "leonardo" during the installation it doesn't appear in this profile.
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? -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tue, Aug 18, 2009 at 8:54 AM, Uwe Gansert
on Monday 17 August 2009 Leonardo L. P. da Mata wrote:
Hello, I need to clone the installation information to be used with autoyast. there is a module called AutoinstClone that can export this information, it reads the Profile::current data and exports this information using XML::YCPToXMLFile module. This profile contains an entry for users, but this entry only contains the root user, if i create one user called "leonardo" during the installation it doesn't appear in this profile.
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.
-- ciao, Uwe Gansert
Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- 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
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? -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
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:
participants (2)
-
Leonardo L. P. da Mata
-
Uwe Gansert