Advertisement
gnu699

virt-install_ubuntu_server1204

Oct 4th, 2013
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.35 KB | None | 0 0
  1. File
  2. ----
  3.  
  4. #Generated by Kickstart Configurator
  5. #platform=x86
  6.  
  7. #System language
  8. lang en_US
  9. #Language modules to install
  10. langsupport en_US
  11. #System keyboard
  12. keyboard latam
  13. #System mouse
  14. mouse
  15. #System timezone
  16. timezone America/Mexico_City
  17. #Root password
  18. rootpw --iscrypted $1$thfubnHa$fRDuA8S./EoRq4ISAmdSR1
  19. #Initial user
  20. user ldap --fullname "ldap" --iscrypted --password $1$cA9AzmV4$2cI3ijhNbutsvlK/mTxUq.
  21. #Reboot after installation
  22. reboot
  23. #Use text mode install
  24. text
  25. #Install OS instead of upgrade
  26. install
  27. #Use CDROM installation media
  28. cdrom
  29. #System bootloader configuration
  30. bootloader --location=mbr
  31. #Clear the Master Boot Record
  32. zerombr yes
  33. #Partition clearing information
  34. clearpart --all --initlabel
  35.  
  36. ##Disk partitioning information
  37. # i have tried that, it doesn't work:
  38. #part / --fstype ext3 --size 6000
  39. #part /var --fstype ext4 --size 2000
  40. #part swap --size 512
  41.  
  42. # i have tried that, it doesn't work:
  43. #logvol / --fstype ext3 --name ubuntu1204-i386-disk --vgname vms --size 6000 --asprimary
  44. #logvol /var --fstype ext4 --name ubuntu1204-i386-var --vgname vms --size 2000 --asprimary
  45. #logvol swap --fstype swap --name ubuntu1204-i386-swap --vgname vms --size 512 --asprimary
  46.  
  47. # i have tried that, it doesn't work:
  48. #part pv.01 --size=6000 volgroup=vms pv.01 logvol / --vgname=vms --size=6000 --name=ubuntu1204-i386-disk --fstype=ext3 --asprimary
  49. #part pv.02 --size=2000 volgroup=vms pv.02 logvol /var --vgname=vms --size=2000 --name=ubuntu1204-i386-var --fstype=ext3 --asprimary
  50. #part pv.03 --size=512 volgroup=vms pv.03 logvol swap --vgname=vms --size=6000 --name=ubuntu1204-i386-swap --fstype=ext3 --asprimary
  51.  
  52. # i have tried that, it doesn't work:
  53. part pv.01 --size=0 --grow
  54. volgroup vms pv.01
  55. logvol / --fstype ext3 --name=ubuntu1204-i386-disk --vgname=vms --size=6000 --asprimary --grow
  56. logvol /var --fstype ext4 --name=ubuntu1204-i386-var --vgname=vms --size 2000 --asprimary --grow
  57. logvol swap --fstype swap --name=ubuntu1204-i386-swap --vgname=vms --size 512 --asprimary
  58.  
  59. #System authorization infomation
  60. auth  --useshadow  --enablemd5
  61.  
  62. ##Network information
  63. # i have tried that, it doesn't work:
  64. network --bootproto=static --ip=192.168.4.40 --netmask=255.255.255.0 --gateway=192.168.4.254 --nameserver=192.168.4.254 --device=eth0
  65. #Firewall configuration
  66. firewall --enabled --ssh
  67. #Do not configure the X Window System
  68. skipx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement