Help us understand the problem. What is going on with this article?

xen に virt-install で centos5.4 のイメージを作成するまで

More than 3 years have passed since last update.
virt-install \
  --name=centos5-4 \
  --location=http://archive.kernel.org/centos-vault/5.4/os/x86_64/ \
  --file=/var/lib/xen/images/centos5-4.img \
  --file-size=20 \
  --vcpus=2 \
  --ram=1000 \
  --paravirt \
  --nographics \
  --nonsparse

完了したらそのまま reboot してログインするので以下を実行して yum を実行可能にしておく

sed -e 's/^mirrorlist=/#mirrorlist/g' -e 's/#baseurl=/baseurl=/g' -e 's/mirror.centos.org\/centos\/$releasever/vault.centos.org\/5.4/g' /etc/yum.repos.d/CentOS-Base.repo -i.org

参考: http://dy.hateblo.jp/entry/2017/05/11/172154

bells17
SW Engineer, Kubernetes & IDCF Cloud. Kubernetes/Cloud Native/Golang/Cloudstack/Rancher Github: http://github.com/bells17 Blog: http://medium.com/@bells17
http://medium.com/@bells17
idcf
未来をささえる、Your Innovative Partner
http://www.idcf.jp/cloud/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした