https://www.vagrantup.com/docs/providers/virtualbox/boxes
https://www.vagrantup.com/docs/boxes/base
- Debian 10 OS:
- User:
vagrant
. - Password:
vagrant
. - Root password:
vagrant
.
- User:
https://www.vagrantup.com/docs/providers/virtualbox/boxes
https://www.vagrantup.com/docs/boxes/base
vagrant
.vagrant
.vagrant
.# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "vancanhuit/debian10" | |
config.vm.base_mac = nil | |
config.vm.define "node1" do |node| | |
node.vm.hostname = "node1" | |
node.vm.network "private_network", ip: "192.168.10.5", virtualbox__intnet: "inet1" |
set -s default-terminal "tmux-256color" | |
set -as terminal-overrides ",xterm*:Tc" | |
set -s escape-time 0 | |
set -g history-limit 50000 | |
set -g display-time 1000 | |
set -g mode-keys vi | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
set -g automatic-rename off |
vim.opt.number = true | |
vim.opt.mouse = 'a' | |
vim.opt.ignorecase = true | |
vim.opt.smartcase = true | |
vim.opt.wrap = true | |
vim.opt.breakindent = true | |
vim.opt.tabstop = 2 | |
vim.opt.shiftwidth = 2 | |
vim.opt.expandtab = true | |
vim.opt.smarttab = true |
incus launch images:rockylinux/9/cloud test --profile rhel | |
incus launch images:rockylinux/9/cloud test-vm --vm --profile rhel --profile vm-config |
cat cloud-init-static-ip-container.yaml | incus config set <name> cloud-init.network-config - | |
cat cloud-init-static-ip-vm.yaml | incus config set <name> cloud-init.network-config - |
# EditorConfig is awesome: https://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
charset = utf-8 | |
indent_style = space | |
indent_size = 4 |
# https://github.com/lxc/incus/commit/b2cd793ae4ce016ca7da128cc2d14544c041c801 | |
# https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/using_selinux/changing-selinux-states-and-modes_using-selinux#enabling-selinux-on-systems-that-previously-had-it-disabled_changing-selinux-states-and-modes | |
semanage fcontext -a -t bin_t /var/run/incus_agent/incus-agent | |
restorecon -R /run/incus_agent | |
fixfiles -F onboot |