Hi,
I want to use a coreos box that has all the containers I need to bootstrap k8s. I use vanilla coreos box to create my box.
The Vagrantfile I use to create my box is:
```
# -*- mode: ruby -*-
# # vi: set ft=ruby :
update_channel = "stable"
num_etcds = 1
instance_etcd_prefix = "etcd"
Vagrant.configure("2") do |config|
config.ssh.insert_key = false
config.vm.box = "coreos-%s" % update_channel
config.vm.box_url = "http://%
s.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json" % update_channel
(1..num_etcds).each do |i|
vm_name = "%s-%02d" % [instance_etcd_prefix, i]
config.vm.define vm_name do |host|
host.vm.hostname = vm_name
end
end
config.vm.post_up_message = "Vagrant has finished"
end
```
After that I just package the box to a new box. I use the new box to create a Vagrantfile, when I run Vagrant up I have the following error:
```
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
systemctl stop etcd
ifconfig 172.17.8.101 netmask 255.255.255.0
mv /tmp/etcd-cluster.service /media/state/units/
systemctl restart local-enable.service
# Restart default etcd
systemctl start etcd
Stdout from the command:
Stderr from the command:
Failed to stop etcd.service: Unit etcd.service not loaded.
SIOCSIFNETMASK: No such device
mv: cannot move '/tmp/etcd-cluster.service' to '/media/state/units/': No such file or directory
Failed to restart local-enable.service: Unit local-enable.service not found.
Failed to start etcd.service: Unit etcd.service not found.
```
Do you guys have any idea?