LoginSignup
1
1

More than 5 years have passed since last update.

KVM on CentOS6.7 にゲスト OS(CentOS7) をインストールする

Posted at

CentOS6.7 上に構築した KVM に、ゲストOS(CentOS7) をインストールする。

イメージを保存するディレクトリを作成する。

# mkdir -p /home/kvm/iso        -> 保存用
# mkdir -p /home/kvm/images     -> ゲストOSのイメージ保存用
# virt-install \
--name centos7_1 \
--ram 1024 \
--disk path=/home/kvm/images/centos7_1.img,size=20 \
--vcpus 2 \
--os-type linux \
--os-variant rhel7 \
--network bridge=br1 \
--graphics none \
--console pty,target_type=serial \
--location '/home/kvm/iso/CentOS-7-x86_64-Minimal-1511.iso' \
--extra-args 'console=ttyS0,115200n8 serial' 

あとはテキストベースで、インストールを進めていける。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1