openSUSE:Appliances events workshop Nuremberg 2010 projects Studio WebYaST integration
WebYast integration in SUSE Studio
Team
Lead: James Tan
Members: Martin Vidner, Ladislav Slezak, Jiří Šrain, Martin Kudlvasr, Garrett Lesage.
Objective
The objective here is to make it easy to include WebYast in appliances built by SUSE Studio.
Base systems
The current plan is to add this only for SLE11 SP1. SLE11 GA support may be added in future (there are some package naming differences). No plans for openSUSE support at the moment. SLE10 will not be supported.
Phase #1
- [DONE] Add checkbox to enable/include WebYast in the appliance, under Configuration tab -> Appliance -> Additional options.
- When checkbox is selected:
- [DONE] Add WebYast repository, if not already present.
- [DONE] Add WebYast packages, if not already present.
- [DONE] Open WebYast UI port (54984) in firewall.
- [DONE] Start WebYast services on boot (yastws, yastwc, collectd).
- When checkbox is deselected:
- [DONE] Revert all the above changes.
- [DONE] Automatically refresh software tab after enabling/disabling.
- [DONE] Map WebYast ports in Testdrive.
- [TODO] WebYast repository in Studio bnc#614280.
- [TODO] Use WebYast pattern to reduce noise in software tab. (Should be in the repo. If not, see bnc#602304 for details.)
- [TODO] Certificate proxy for WebYast in Testdrive.
Phase #2
- [TODO] Group WebYast components into categories that can be easily selected/deselected.
- [HOWTO] Proposed groups:
Base: webyast-firstboot-ws, webyast-language-*, webyast-reboot-*, webyast-status-*, webyast-licenses-*
System: webyast-services-*, webyast-root-user-*, webyast-time-*
Users: webyast-users-*, webyast-root-user-*, webyast-permissions-ui
Software: webyast-software-*, webyast-registration-*
Network: webyast-network-*, webyast-mail-*, webyast-firewall-*
- [HOWTO] Proposed groups:
- [TODO] Allow change of default WebYast UI port (eg. 54984 to 443).
- [HOWTO] Change server.port = 54984 line in /srv/www/yast/config/lighttpd.conf to server.port = 443
- [TODO] Allow addition of arbitrary log file paths for WebYast.
- [HOWTO] The logs are configured in /etc/webyast/vendor/logs.yml file, see the default file.
- [TODO] Allow to enable a first boot workflow
- [TODO] Allow to customize the first boot workflow
- [HOWTO] First boot config is stored in /etc/webyast/basesystem.yml file, see Vendor documentation for more details.
- [TODO] Disable on-boot license when replaced with first boot license