Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Myles Gray mylesagray

🏠
Working from home
Block or report user

Report or block mylesagray

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View toolsDeployPkg.log
[2019-06-09T18:05:27.730Z] [ debug] ## Starting deploy pkg operation
[2019-06-09T18:05:27.730Z] [ debug] Deploying /var/run/3f339118/imcf-bOlbh2
[2019-06-09T18:05:27.730Z] [ info] Initializing deployment module.
[2019-06-09T18:05:27.730Z] [ info] Cleaning old state file from tmp directory.
[2019-06-09T18:05:27.730Z] [ info] EXIT STATE INPROGRESS
[2019-06-09T18:05:27.730Z] [ debug] Setting deploy error: Error removing lock /tmp/.vmware-deploy.INPROGRESS (No such file or directory)
View ubuntu.json
{
"DiskProvisioning": "thin",
"IPAllocationPolicy": "dhcpPolicy",
"IPProtocol": "IPv4",
"PropertyMapping": [
{
"Key": "instance-id",
"Value": "id-ovf"
},
{
View user-data
#cloud-config
chpasswd:
list: |
ubuntu:VMware1!
expire: false
groups:
- docker
users:
- default
- name: ubuntu
View ubuntu-all-nodes.sh
#!/bin/bash
# Install Docker CE
# Update the apt package index
echo "Installing Docker"
sudo apt update
## Install packages to allow apt to use a repository over HTTPS
sudo apt install ca-certificates software-properties-common apt-transport-https curl -y
View ubuntu-prep.sh
#!/bin/bash
# Update the system, cleans out all of the cloud-init cache, disable and remove cloud-init customisations
sudo apt update
sudo apt install open-vm-tools -y
sudo apt upgrade -y
sudo cloud-init clean --logs
sudo touch /etc/cloud/cloud-init.disabled
sudo rm -rf /etc/netplan/50-cloud-init.yaml
sudo apt purge cloud-init -y
You can’t perform that action at this time.