adrahon / vagrant-kvm

This project is dead, please use vagrant-libvirt instead! A Vagrant 1.4+ plugin that adds a KVM provider to Vagrant, allowing Vagrant to control and provision KVM/QEMU VM.
MIT License
366 stars 60 forks source link

Add new boxes to the "List on Boxes" Wiki page (Trusty Beta 2, CentOS 6.5, F20, Arch 2014-04) #217

Closed tatsuya6502 closed 10 years ago

tatsuya6502 commented 10 years ago

I built some box files for vagrant-kvm and uploaded them to a S3 bucket owned by me.

Todo:

tatsuya6502 commented 10 years ago

Updated the page: List-boxes [9e3e55f063]

tatsuya6502 commented 10 years ago

Also I found that the existing CentOS 6.4 image (not the one I added, which is 6.5) seems read-protected. So if I try to download it, I get this error.

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>61C50C294CDE928E</RequestId>
<HostId>
RRkyPtR8G0vP9f9ZpstAZoAo3wSxSnVLuNqqpF/yls5nUlKwxB9sRk+/NKAcUxRP
</HostId>
</Error>
tatsuya6502 commented 10 years ago

I put synced folder "(none)" for CoreOS, but I think I was wrong. It seems a CoreOS guest can mount NFS based synced folder if I specify correct options in Vagrantfile. I will try it later. https://github.com/coreos/coreos-vagrant#shared-folder-setup

tatsuya6502 commented 10 years ago

Also I found that the existing CentOS 6.4 image (not the one I added, which is 6.5) seems read-protected. So if I try to download it, I get this error.

Thank you for correcting the download URL for the box. Now I can download it.

tatsuya6502 commented 10 years ago

I put synced folder "(none)" for CoreOS, but I think I was wrong. It seems a CoreOS guest can mount NFS based synced folder if I specify correct options in Vagrantfile. I will try it later. https://github.com/coreos/coreos-vagrant#shared-folder-setup

I followed the above document and added this line to the Vagrantfile.

  config.vm.synced_folder ".", "/home/core/share", id: "core", :nfs => true, :mount_options => ['nolock,vers=3,udp']

Then I verified that our CoreOS box can mount NFS synced folder. I'll change the "(none)" on the wiki page to "nfs".

/home/tatsuya/tmp/coreos% vagrant ssh
Last login: Sat Apr 19 03:08:29 UTC 2014 from 192.168.123.1 on ssh
   ______                ____  _____
  / ____/___  ________  / __ \/ ___/
 / /   / __ \/ ___/ _ \/ / / /\__ \
/ /___/ /_/ / /  /  __/ /_/ /___/ /
\____/\____/_/   \___/\____//____/
core@coreos197 ~ $ df -h  
Filesystem                              Size  Used Avail Use% Mounted on
rootfs                                 1008M  230M  763M  24% /
devtmpfs                                229M     0  229M   0% /dev
tmpfs                                   236M     0  236M   0% /dev/shm
tmpfs                                   236M  224K  236M   1% /run
tmpfs                                   236M     0  236M   0% /sys/fs/cgroup
/dev/sda3                              1008M  230M  763M  24% /
tmpfs                                   236M     0  236M   0% /media
tmpfs                                   236M     0  236M   0% /tmp
/dev/sda6                               108M   80K  106M   1% /usr/share/oem
/dev/sda9                                16G   30M   16G   1% /media/state
/dev/sda9                                16G   30M   16G   1% /home
/dev/sda9                                16G   30M   16G   1% /opt
/dev/sda9                                16G   30M   16G   1% /var
/dev/sda9                                16G   30M   16G   1% /srv
192.168.123.1:/home/tatsuya/tmp/coreos   32G   22G  8.5G  72% /home/core/share
core@coreos197 ~ $ ls -l /home/core/share/
total 4
-rw-r--r-- 1 core users 495 Apr 19 03:01 Vagrantfile
tatsuya6502 commented 10 years ago

Ubuntu 14.04 Trusty final was released on Thursday. I created a box and uploaded it to the S3 bucket.

Box URL: https://vagrant-kvm-boxes-si.s3.amazonaws.com/trusty64-kvm-20140418.box

I updated the wiki page as well.

tatsuya6502 commented 10 years ago

There is no outstanding task for this. Closing.