mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-19 05:27:26 +00:00
Enable kubectl autocompletion by default in the VMs
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
This commit is contained in:
committed by
Saikrishna Edupuganti
parent
42ffa8df71
commit
5beadf6a23
Vendored
+2
@@ -76,6 +76,8 @@ Vagrant.configure("2") do |config|
|
||||
c.vm.provision "shell", privileged: false, inline: "sudo usermod --password vagrant root"
|
||||
c.vm.provision "shell", privileged: false, path: "setup_system.sh"
|
||||
c.vm.provision "shell", privileged: false, path: "setup_kata_firecracker.sh"
|
||||
# Include shells bundle to get bash completion and add kubectl's commands to vagrant's shell
|
||||
c.vm.provision "shell", privileged: false, inline: 'sudo -E swupd bundle-add shells; echo "source <(kubectl completion bash)" >> $HOME/.bashrc'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user