Reworking file paths
This commit is contained in:
parent
ed61d0251f
commit
c2dd6df5dd
2 changed files with 27 additions and 1 deletions
25
control-plane/vagrant/Vagrantfile
vendored
25
control-plane/vagrant/Vagrantfile
vendored
|
|
@ -0,0 +1,25 @@
|
|||
Vagrant.configure("2") do |config|
|
||||
config.vm.define "control-plane-node-1" do |vm|
|
||||
vm.vm.provider :libvirt do |domain|
|
||||
domain.cpus = 2
|
||||
domain.memory = 2048
|
||||
domain.serial :type => "file", :source => {:path => "/tmp/vagrant/control-plane-node-1.log"}
|
||||
domain.storage :file, :device => :cdrom, :path => "/tmp/vagrant/metal-amd64.iso"
|
||||
domain.storage :file, :size => '4G', :type => 'raw'
|
||||
domain.boot 'hd'
|
||||
domain.boot 'cdrom'
|
||||
end
|
||||
end
|
||||
|
||||
config.vm.define "worker-node-1" do |vm|
|
||||
vm.vm.provider :libvirt do |domain|
|
||||
domain.cpus = 2
|
||||
domain.memory = 2048
|
||||
domain.serial :type => "file", :source => {:path => "/tmp/vagrant/worker-node-1.log"}
|
||||
domain.storage :file, :device => :cdrom, :path => "/tmp/vagrant/metal-amd64.iso"
|
||||
domain.storage :file, :size => '4G', :type => 'raw'
|
||||
domain.boot 'hd'
|
||||
domain.boot 'cdrom'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -1 +1,2 @@
|
|||
curl https://factory.talos.dev/image/4a0d65c669d46663f377e7161e50cfd570c401f26fd9e7bda34a0216b6f1922b/v1.11.1/metal-arm64.iso -L -o /tmp/metal-amd64.iso
|
||||
mkdir -p /tmp/vagrant
|
||||
curl https://factory.talos.dev/image/4a0d65c669d46663f377e7161e50cfd570c401f26fd9e7bda34a0216b6f1922b/v1.11.1/metal-arm64.iso -L -o /tmp/vagrant/metal-arm64.iso
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue