elegoev / basebox-ubuntu-18.04-k3s

Vagrant Ubuntu 18.04 Basebox with k3s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ubuntu-18.04-k3s

Vagrant Box with Ubuntu 18.04 and k3s

Base image

Used base image elegoev/ubuntu-18.04-docker

Directory Description

directory description
inspec inspec test profiles with controls
packer packer build, provisioner and post-processor scripts
test test environment for provision & inspec development

Vagrant

Vagrant Cloud

Vagrant Plugins

Vagrantfile

Vagrant.configure("2") do |config|

  ENV['VAGRANT_EXPERIMENTAL'] = "disks"

  $basebox_name="ubuntu-18.04-k3s-test"
  $basebox_hostname="ubuntu-1804-k3s-test"
  $src_image_name="elegoev/ubuntu-18.04-k3s"
  $vb_group_name="basebox-k3s-test"

  config.vm.define "#{$basebox_name}" do |machine|
    machine.vm.box = "#{$src_image_name}"

    # define guest hostname
    machine.vm.hostname = "#{$basebox_hostname}"

    machine.vm.provider "virtualbox" do |vb|
      vb.name = $basebox_name
      vb.cpus = 1
      vb.customize ["modifyvm", :id, "--memory", "1024" ]
      vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
      vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
      vb.customize [
        "modifyvm", :id, "--uartmode1", "file",
        File.join(Dir.pwd, "ubuntu-bionic-18.04-cloudimg-console.log")
      ]
      vb.customize ["modifyvm", :id, "--groups", "/#{$vb_group_name}" ]
      vb.customize ["modifyvm", :id, "--vram", 256 ]
    end

    machine.vm.disk :disk, size: "40GB", primary: true

  end   

end

K3S

Help

k3s --help

Referenzen

Versioning

Repository follows sematic versioning semantic versioning

Changelog

For all notable changes see CHANGELOG

License

Licensed under The MIT License (MIT) - for the full copyright and license information, please view the LICENSE file.

Issue Reporting

Any and all feedback is welcome. Please let me know of any issues you may find in the bug tracker on github. You can find it here.

About

Vagrant Ubuntu 18.04 Basebox with k3s

License:MIT License


Languages

Language:HTML 64.5%Language:PowerShell 24.3%Language:Ruby 8.2%Language:Shell 3.0%