This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from pathlib import Path | |
import subprocess | |
import os | |
import sys | |
print( | |
""" | |
_ _ _ _ _ _ _ _ _ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
# Inline variables | |
$UBUNTU = <<-'UB1' | |
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config | |
sudo systemctl restart sshd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ____ ____ ____ _______ _____ _______ _____ _____ | |
# | _ \ / __ \ / __ \__ __/ ____|__ __| __ \ /\ | __ \ | |
# | |_) | | | | | | | | | | (___ | | | |__) | / \ | |__) | | |
# | _ <| | | | | | | | | \___ \ | | | _ / / /\ \ | ___/ | |
# | |_) | |__| | |__| | | | ____) | | | | | \ \ / ____ \| | | |
# |____/ \____/ \____/ |_| |_____/ |_| |_| \_\/_/ \_\_| | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ---------------------------------------------------------------------------------------------------- | |
# AUTHOR : KARTHICK S | |
# PURPOSE : THIS SCRIPT WILL EXPORT/IMPORT THE CONFIG AND VM DISK. | |
# | |
# usage: | |
# export function will take care of exporting the necessary for all VM. Run as "<scriptname.sh> export" | |
# import function will take care of importing the necessary for all VM. Run as "<scriptname.sh> import" | |
# |