Vagrantfile does not work
minegishirei opened this issue · 2 comments
minegishirei commented
Hello! this is first time to make issue.
I tried to run youki with vagrant. ( To understand what is container and container runtime)
But it caused 404 error.
Below is the error log.
> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'fedora/33-cloud-base' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: 33.20201019.0
==> default: Loading metadata for box 'fedora/33-cloud-base'
default: URL: https://vagrantcloud.com/api/v2/vagrant/fedora/33-cloud-base
==> default: Adding box 'fedora/33-cloud-base' (v33.20201019.0) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/fedora/boxes/33-cloud-base/versions/33.20201019.0/providers/virtualbox/unknown/vagrant.box
Download redirected to host: download.fedoraproject.org
default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
The requested URL returned error: 404
And I tried to add image to vagrant box.
It also caused error.
vagrant box add fedora/33-cloud-base
PS C:\Users\mineg\myworking\myworking\code\myworking\code\youki> vagrant box add fedora/33-cloud-base
==> box: Loading metadata for box 'fedora/33-cloud-base'
box: URL: https://vagrantcloud.com/api/v2/vagrant/fedora/33-cloud-base
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.
1) libvirt
2) virtualbox
Enter your choice: 2
==> box: Adding box 'fedora/33-cloud-base' (v33.20201019.0) for provider: virtualbox
box: Downloading: https://vagrantcloud.com/fedora/boxes/33-cloud-base/versions/33.20201019.0/providers/virtualbox/unknown/vagrant.box
Download redirected to host: download.fedoraproject.org
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
The requested URL returned error: 40
From this situation, I thought that I should change base image in Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "fedora/33-cloud-base"
config.vm.box_version = "33.20201019.0"
If that, Should I find any box image and send pull request ?
YJDoc2 commented
Hey, can you try with the containerd2youki vagrantfile with
VAGRANT_VAGRANTFILE=Vagrantfile.containerd2youki vagrant up
and see if that works?
In the meantime I'll see what the issue is with default one. Thanks!
minegishirei commented