Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Large-scale deploy by AutoYast

352 views

Published on

AutoYast

Published in: Internet
  • Be the first to comment

  • Be the first to like this

Large-scale deploy by AutoYast

  1. 1. Large-scale deploy by AutoYastLarge-scale deploy by AutoYast Hillwood Yang http://hillwoodhome.net hillwood@opensuse.org
  2. 2. 2
  3. 3. 3
  4. 4. 4 AutoYast • A system for installing more SLE/openSUSE • Automatically and without user intervention – Partition – Network configuration – Choosing software – Firewall configuration – Service configuration – Etc….
  5. 5. 5 Autoinst.xml
  6. 6. 6 A detail in the autoinst.xml
  7. 7. 7 Get autoinst.xml • Clone an installed system • Using Yast-Autoyast to Create • From scratch by any editor.
  8. 8. 8 PXE boot server • DHCP server • TFTP server
  9. 9. 9 /etc/dhcpd.conf group { # PXE related stuff # # "next server" defines the tftp server that will be used next server ip_tftp_server: 192.168.1.1 # # "filename" specifies the pxelinux image on the tftp server # the server runs in chroot under /srv/tftpboot filename "pxelinux.0"; host test { hardware ethernet mac_address; fixed-address some_ip_address; } }
  10. 10. 10 PXE boot : Config TFTP service /tftpboot /tftpboot/pxelinux.0 /tftpboot/initrd.img /tftpboot/vmlinuz /tftpboot/pxelinux.cfg /tftpboot/pxelinux.cfg/default
  11. 11. 11 syslinux # install label linux kernel linux append initrd=initrd splash=silent install=http://192.168.1.209/opensuse/ showopts autoyast=http://192.168.1.209/opensuse/autoinst.xml
  12. 12. 12 More about PXE https://en.opensuse.org/SDB:PXE_boot_installation
  13. 13. 13 Autoyast configure in syslinux Document autoyast=file://path Let the installation search form specific path (If it was the root of the CD- ROM, please use the relative path —— file:///autoinst.xml). Locale disk autoyast=device://path Let the installation search control document form locale disk. Just device name is enough - If /dev/sda1 is wrong , please use sda 。 Floppy disk autoyast=floppy://path Let the installation search control document form floppy disk. If the installation search noting in floppy disk, it will search control document form all usb device. USB device autoyast=usb://path Let the installation search control document form USB device NFS autoyast=nfs://server/path Let the installation search control document form NFS server HTTP autoyast=http://server/path Let the installation search control document form HTTP server HTTPS autoyast=https://server/path Let the installation search control document form NFS server TFTP autoyast=tftp://server/path Let the installation search control document form NFS server FTP autoyast=ftp://server/path Let the installation search control document form NFS server
  14. 14. 14 Join us on: www.opensuse.org

×