FTP経由でKickstartからCentOS 6.5をインストールするときに「ストレージメタデータを取得できません」を修正する方法は?

FTP経由でKickstartからCentOS 6.5をインストールするときに「ストレージメタデータを取得できません」を修正する方法は?

私はこれを理解しようとしながら髪を抜いています。 KVMのFTPサーバーを介して物理ホストにCentOS 6.5をインストールしようとしています。 vsftpdをインストールし、selinuxを許可に設定し、iptablesを一時的に更新しました。マイインストールはにコピーされます/var/ftp/pub/inst/CentOS_6.5_Final/。私の起動設定はです/var/ftp/pub/inst/ks.cfgchmod -R 777-Rks.cfg

インストールメニューに添付した最初のコマンドは、ks=x.x.x.x/pub/inst/ks.cfg iptablesを更新すると、仮想マシンがks.cfgを簡単に検索できることです。問題なく仮想ドライブの再フォーマットを開始しました。リポジトリ検索を開始すると吐き出されます。cannot retrieve repository metadata (repomd.xml) for repository.

仮想マシン内でCtl + Alt + F3を押すと、次の出力が表示されます。 Failed to get <the path to my IP>/CentOS_6.5_Final/repodata/repomd.xml: [Errorno 14] PYCURL ERROR 7 - "couldn't connect to host"

私の起動設定は次のとおりです。

# Kickstart file automatically generated by anaconda.
#version=DEVEL
install
url --url ftp://x.x.x.x/pub/inst/CentOS_6.5_Final/
lang en_US.UTF-8
keyboard us
network --onboot no --device eth0 --bootproto static --ip x.x.x.x --netmask x.x.x.x --gateway x.x.x.x --nameserver 8.8.8.8 --hostname <myhostname> --noipv6

rootpw  --iscrypted <very long string of hash>
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc America/Denver
bootloader --location=mbr --driveorder=vda
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
zerombr
clearpart --drives=vda --all
ignoredisk --only-use=vda

#part None --fstype=efi --onpart=sda1 --noformat
#part None --fstype=ext4 --onpart=sda2 --noformat
#part swap --onpart=sda3 --noformat

part / --fstype=ext4 --size=8000
part /boot --fstype=ext4 --size=500
part /home --fstype=ext4 --size=1000
part swap --size=1000


#repo --name="CentOS" --baseurl=http://x.x.x.x/inst/ --cost=100

%packages
@base
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@input-methods
@internet-applications
@internet-browser
@java-platform
@legacy-x
@network-file-system-client
@office-suite
@print-client
@remote-desktop-clients
@server-platform
@server-policy
@workstation-policy
@x11
mtools
pax
oddjob
wodim
sgpio
enisoimage
device-mapper-persistent-data
abrt-gui
samba-winbind
certmonger
pam_krb5
krb5-workstation
libXmu
%end
shutdown
firstboot --disabled`

編集する

まあ...静的プロパティを設定するとき、これがネットワークの問題であることがわかりました。その後を除くすべての項目--bootproto staticをに変更して削除しました。明らかに、Comcastの新しいルーター - モデムコンボについてもっと知る必要があります。私はそのモデムを本当に嫌いです。--bootproto dhcp--noipv6

ベストアンサー1

おすすめ記事