キックスタートテキストのインストールが中断されます。

キックスタートテキストのインストールが中断されます。

テキストモードでは、Kickstartファイルを使用してCentOS 7 VMのテストインストールを実行していますが、しばらくするとインストールはこの画面で中断されます(デフォルトの端末VT1)。

ここに画像の説明を入力してください。

これはVT4の内容です(Ctrl++で表示されます)。AltF4

ここに画像の説明を入力してください。

使用されるキックスタートファイルは次のとおりです。

#version=RHEL7
# System authorization information
auth --enableshadow --passalgo=sha512

# Use CDROM installation media
cdrom
# Use graphical install
install
text
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=vda
# Keyboard layouts
keyboard --vckeymap=ch --xlayouts='ch'
# System language
lang en_US.UTF-8

# Network information
network  --bootproto=static --device=eth0 --gateway=192.168.77.1 --ip=192.168.77.222 --nameserver=8.8.8.8 --netmask=255.255.255.0 --ipv6=auto --activate
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $6$CmjyBHZ.4piG.00J$JESV6h1LUaMxB2n2sJEkjd97GobnYIdAYPJmQtlKQMpiaPPKMpAD.4z3RPb9KxUvIg8SlFVC2KhG..2.6ivwI/
# System timezone
timezone America/Santiago --isUtc --nontp
# X Window System configuration information
xconfig  --startxonboot
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel

%packages
@base
@core

%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

VM は、次のコマンドを使用して作成されます。

virt-install --virt-type=kvm --name=centos7test6 --disk path=/var/lib/libvirt/images/centos7test6.img,size=6 --initrd-inject=/root/kickstart-tests/test.ks --ram=1024 --vcpus=1 --os-variant=rhel7 --accelerate --graphics vnc -v -l http://mirror.centos.org/centos/7/os/x86_64/ --network bridge:virbr0 --extra-args="console=tty0 console=ttyS0,115200 ks=file:/test.ks"

グラフィカルインストールはうまく機能しますが、テキストインストールをテストしてから、%事前および%事後インストール部分をカスタマイズしたいと思います。この問題を解決するにはどうすればよいですか?

ベストアンサー1

おすすめ記事