Skip to content

Instantly share code, notes, and snippets.

View mylesagray's full-sized avatar
🏗️
Stacking turtles

Myles Gray mylesagray

🏗️
Stacking turtles
View GitHub Profile
Starting Klippy...
Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-l', '/tmp/klippy.log', '-a', '/tmp/klippy_uds']
Git version: 'v0.9.1-139-ga5ebe582'
CPU: 4 core ARMv7 Processor rev 3 (v7l)
Python: '2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]'
Start printer at Sun Feb 28 10:19:54 2021 (1614507594.8 8.7)
===== Config file =====
[mcu]
serial = /dev/serial/by-id/usb-Klipper_lpc1769_01500015871C4AAF7B587C5DC42000F5-if00
[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)
{
"DiskProvisioning": "thin",
"IPAllocationPolicy": "dhcpPolicy",
"IPProtocol": "IPv4",
"PropertyMapping": [
{
"Key": "instance-id",
"Value": "id-ovf"
},
{
#cloud-config
chpasswd:
list: |
ubuntu:VMware1!
expire: false
groups:
- docker
users:
- default
- name: ubuntu
#!/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
#!/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