Difference between revisions of "Kickstart Ubuntu"

From HackerNet
Jump to: navigation, search
(Created page with "Exempel på ks-fil för Ubuntu server network --bootproto=static --hostname=host7.hackernet.se --ip=172.20.0.4 --netmask=255.255.255.0 --gateway=172.20.0.1 --nameserver=8.8.8...")
 
m (ntp)
 
Line 28: Line 28:
 
  fail2ban
 
  fail2ban
 
  open-vm-tools
 
  open-vm-tools
 +
ntp
  
 
[[Category:Kickstart]]
 
[[Category:Kickstart]]

Latest revision as of 11:27, 7 September 2015

Exempel på ks-fil för Ubuntu server

network --bootproto=static --hostname=host7.hackernet.se --ip=172.20.0.4 --netmask=255.255.255.0 --gateway=172.20.0.1 --nameserver=8.8.8.8 --device=eth0
lang en_US
langsupport en_US
keyboard se
mouse
timezone Europe/Stockholm
rootpw --disabled
#Initial user
user doge --fullname "skeletor" --password suchpw
#Reboot after installation
reboot
text
install
#Use Web installation
url --url http://se.archive.ubuntu.com/ubuntu
bootloader --location=mbr
zerombr yes
clearpart --all --initlabel
part / --fstype ext4 --size 1 --grow
part swap --recommended
auth  --useshadow
firewall --disabled
skipx

%packages
openssh-server
fail2ban
open-vm-tools
ntp