Last active
August 29, 2015 14:13
-
-
Save smile-0yen/15d4aa69fd6f5d66fbb8 to your computer and use it in GitHub Desktop.
CentOS Atomic HostをVirtual Boxにインストールする ref: http://qiita.com/smile-0yen/items/d3937dbf9df69259fdc4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install qemu # この記事では2.1.2を使用しています。 | |
$ qemu-img convert -f qcow2 -O vdi CentOS-7-x86_64-AtomicHost.qcow2 CentOS-7-x86_64-AtomicHost.vdi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance-id: iid-local01 | |
local-hostname: myatomic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
password: <ログインパスワード> | |
ssh_pwauth: True | |
chpasswd: { expire: False } | |
ssh_authorized_keys: <SSH公開鍵> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo yum install genisoimage.x86_64 -y | |
$ genisoimage -output init.iso -volid cidata -joliet -rock user-data meta-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cp -vi init.iso /vagrant/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo rpm-ostree upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment