Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 471 Bytes

k3os.md

File metadata and controls

16 lines (13 loc) · 471 Bytes

Vagrantfileの例(k3OSを利用する場合)

Vagrant.configure("2") do |config|
  config.vm.box = "dummy"
  config.ssh.username = "rancher"
  config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true

  config.vm.provider :sakura do |sakura, override|
    sakura.os_type = "k3os"
    
    sakura.public_key_path        = File.expand_path("~/.ssh/id_rsa.pub")
    override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
  end
end