Is there a way to easily force FIRSTBOOT to run the X11 and Network setup screen sections of YAST after a ghost image is loaded to a new machine? I have looked over the doc and I _think _it would involve adding information to the control.xml file under the firstboot section, but I am uncertain how to proceed. Basically I would like "firstboot" to behave as sysprep does for XP. I would also like to turn off the resetting of the root password... I don't want the user's changing the root password. Is it as simple as commenting out that section under "firstboot" in the control.xml file? Cheers, -T The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
Anthony, Something like that would provide what you want. I did not test, but it should work. This is from the NLD control file. The file to be changed is in /var/lib/YaST2. You can keep or remove some parts of the network and hardware screens, here I remove most of the sections and left those you are interested in. Anas --- control.xml 2004-10-28 17:35:22.000000000 -0400 +++ control.new.xml 2004-12-30 14:26:26.407596505 -0500 @@ -123,11 +123,7 @@ <stage>continue,normal</stage> <proposal_modules config:type="list"> <proposal_module>lan</proposal_module> - <proposal_module>dsl</proposal_module> - <proposal_module>isdn</proposal_module> - <proposal_module>modem</proposal_module> <proposal_module>proxy</proposal_module> - <proposal_module>remote</proposal_module> </proposal_modules> </proposal> <proposal> @@ -135,9 +131,6 @@ <stage>continue</stage> <proposal_modules config:type="list"> <proposal_module>x11</proposal_module> - <proposal_module>printer</proposal_module> - <proposal_module>sound</proposal_module> - <proposal_module>tv</proposal_module> </proposal_modules> </proposal> <proposal> @@ -248,11 +241,23 @@ <name>firstboot_timezone</name> <arguments>true,true</arguments> </module> + <!-- <module> <label>Root Password</label> <name>inst_root</name> <arguments>true,true</arguments> </module> + --> + <module> + <label>Network</label> + <name>inst_proposal</name> + <arguments>true,true,`net</arguments> + </module> + <module> + <label>Device Configuration</label> + <name>inst_proposal</name> + <arguments>true,true,`hw</arguments> + </module> <module> <label>Users</label> <name>inst_auth</name> Anthony Staples wrote:
Is there a way to easily force FIRSTBOOT to run the X11 and Network setup screen sections of YAST after a ghost image is loaded to a new machine? I have looked over the doc and I _think _it would involve adding information to the control.xml file under the firstboot section, but I am uncertain how to proceed.
Basically I would like "firstboot" to behave as sysprep does for XP.
I would also like to turn off the resetting of the root password... I don't want the user's changing the root password. Is it as simple as commenting out that section under "firstboot" in the control.xml file?
Cheers, -T
The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
Anas, Thanks for your help!! Is what you have included the entire file, or a patch of some sort for the existing control.xml file. Cheers, -T Anas Nashif <nashif@suse.de> To 12/30/2004 02:29 Anthony Staples PM <astaples@humana.com> cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] Firstboot questions Anthony, Something like that would provide what you want. I did not test, but it should work. This is from the NLD control file. The file to be changed is in /var/lib/YaST2. You can keep or remove some parts of the network and hardware screens, here I remove most of the sections and left those you are interested in. Anas --- control.xml 2004-10-28 17:35:22.000000000 -0400 +++ control.new.xml 2004-12-30 14:26:26.407596505 -0500 @@ -123,11 +123,7 @@ <stage>continue,normal</stage> <proposal_modules config:type="list"> <proposal_module>lan</proposal_module> - <proposal_module>dsl</proposal_module> - <proposal_module>isdn</proposal_module> - <proposal_module>modem</proposal_module> <proposal_module>proxy</proposal_module> - <proposal_module>remote</proposal_module> </proposal_modules> </proposal> <proposal> @@ -135,9 +131,6 @@ <stage>continue</stage> <proposal_modules config:type="list"> <proposal_module>x11</proposal_module> - <proposal_module>printer</proposal_module> - <proposal_module>sound</proposal_module> - <proposal_module>tv</proposal_module> </proposal_modules> </proposal> <proposal> @@ -248,11 +241,23 @@ <name>firstboot_timezone</name> <arguments>true,true</arguments> </module> + <!-- <module> <label>Root Password</label> <name>inst_root</name> <arguments>true,true</arguments> </module> + --> + <module> + <label>Network</label> + <name>inst_proposal</name> + <arguments>true,true,`net</arguments> + </module> + <module> + <label>Device Configuration</label> + <name>inst_proposal</name> + <arguments>true,true,`hw</arguments> + </module> <module> <label>Users</label> <name>inst_auth</name> Anthony Staples wrote:
Is there a way to easily force FIRSTBOOT to run the X11 and Network setup screen sections of YAST after a ghost image is loaded to a new machine? I have looked over the doc and I _think _it would involve adding information to the control.xml file under the firstboot section, but I am uncertain how to proceed.
Basically I would like "firstboot" to behave as sysprep does for XP.
I would also like to turn off the resetting of the root password... I don't want the user's changing the root password. Is it as simple as commenting out that section under "firstboot" in the control.xml file?
Cheers, -T
The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
Anthony, This is a patch, so you can see what changes need to be done. Anas Anthony Staples wrote:
Anas,
Thanks for your help!! Is what you have included the entire file, or a patch of some sort for the existing control.xml file.
Cheers, -T
Anas Nashif <nashif@suse.de> To 12/30/2004 02:29 Anthony Staples PM <astaples@humana.com> cc suse-autoinstall@suse.com Subject Re: [suse-autoinstall] Firstboot questions
Anthony,
Something like that would provide what you want. I did not test, but it should work. This is from the NLD control file. The file to be changed is in /var/lib/YaST2. You can keep or remove some parts of the network and hardware screens, here I remove most of the sections and left those you are interested in.
Anas
--- control.xml 2004-10-28 17:35:22.000000000 -0400 +++ control.new.xml 2004-12-30 14:26:26.407596505 -0500 @@ -123,11 +123,7 @@ <stage>continue,normal</stage> <proposal_modules config:type="list"> <proposal_module>lan</proposal_module> - <proposal_module>dsl</proposal_module> - <proposal_module>isdn</proposal_module> - <proposal_module>modem</proposal_module> <proposal_module>proxy</proposal_module> - <proposal_module>remote</proposal_module> </proposal_modules> </proposal> <proposal> @@ -135,9 +131,6 @@ <stage>continue</stage> <proposal_modules config:type="list"> <proposal_module>x11</proposal_module> - <proposal_module>printer</proposal_module> - <proposal_module>sound</proposal_module> - <proposal_module>tv</proposal_module> </proposal_modules> </proposal> <proposal> @@ -248,11 +241,23 @@ <name>firstboot_timezone</name> <arguments>true,true</arguments> </module> + <!-- <module> <label>Root Password</label> <name>inst_root</name> <arguments>true,true</arguments> </module>+ --> + <module> + <label>Network</label> + <name>inst_proposal</name> + <arguments>true,true,`net</arguments> + </module> + <module> + <label>Device Configuration</label> + <name>inst_proposal</name> + <arguments>true,true,`hw</arguments> + </module> <module> <label>Users</label> <name>inst_auth</name>
Anthony Staples wrote:
Is there a way to easily force FIRSTBOOT to run the X11 and Network setup screen sections of YAST after a ghost image is loaded to a new machine? I have looked over the doc and I _think _it would involve adding information to the control.xml file under the firstboot section, but I am uncertain how to proceed.
Basically I would like "firstboot" to behave as sysprep does for XP.
I would also like to turn off the resetting of the root password... I don't want the user's changing the root password. Is it as simple as commenting out that section under "firstboot" in the control.xml file?
Cheers, -T
The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
participants (2)
-
Anas Nashif
-
Anthony Staples