kickstart instala o ubuntu 14.04 LTS sem intervenção e sem swap

0

Obrigado por perguntas anteriores sobre instalação automática , mas estou com um problema fazendo uma instalação automática sem obter uma partição swap.

Aqui está meu ks.cfg :

#Generated by Kickstart Configurator
#platform=AMD64 or Intel EM64T

#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone --utc UTC
#Root password
rootpw --disabled
#Initial user
user deleteme [...]
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr 
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel 
#Disk partitioning information
part / --fstype ext4 --size 1 --grow --asprimary 
part swap --size 100
#System authorization infomation
auth  --useshadow  --enablemd5 
#Firewall configuration
firewall --disabled 
#Do not configure the X Window System
skipx
#Install these packages
%packages
openssh-server
# After system is installed, remove the apt.conf file with debproxy defined.
%post
rm -rf /etc/apt/apt.conf
%end

Comentar a linha part swap --size 100 faz com que o instalador reclame e crie um prompt. Eu tentei definir o tamanho como 0 , mas isso causa outro problema que causa muitos prompts. Existe uma maneira de se livrar de swap e não receber bobagens?

    
por chicks 03.08.2016 / 20:40

0 respostas