aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDon Delmar Davis <don@suspectdevices.com>2021-01-23 10:13:02 -0800
committerDon Delmar Davis <don@suspectdevices.com>2021-01-23 10:13:02 -0800
commitab53cbb32b10b3c9b79427b7ecfdf9183d16500e (patch)
tree29c10fbbe4f7d02ad963de608804aeeb60fe0c3e /README.md
parent5e77078c185bee037a80e20ba708aa7ec8d2e800 (diff)
Document lxd install
Diffstat (limited to 'README.md')
-rw-r--r--README.md55
1 files changed, 53 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4a59b77..52fb8e1 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Joey Rebuild #
An edgy server. Joey has 3 main jobs. Stage web content to be pushed or synced to external servers. Provide replication for the lan file servers disks. Provide container space both for lan/wan/edge services and to back up those provided by the file server.
-
+![](img/HomeNetworkDiagram.jpg)
## Ubuntu 20.04 + zfs root on the Hp z400.
Someday this will not be so hard :)
As much as I like this little workhorse the bios on it kind of sucks. No UEFI. No booting from the on board raid. No booting from the external raid controller.
@@ -20,4 +20,55 @@ Disk Layout.
##### lxd setup.
* https://linuxcontainers.org/lxd/docs/master/storage
-*
+
+```
+... snap install lxd --channel=4.0/stable
+root@joey:/home/don# apt-get install lxd
+...
+root@joey:/home/don# lxd init
+Would you like to use LXD clustering? (yes/no) [default=no]:
+Do you want to configure a new storage pool? (yes/no) [default=yes]:
+Name of the new storage pool [default=default]: devil
+Name of the storage backend to use (dir, lvm, zfs, ceph, btrfs) [default=zfs]:
+Would you like to create a new zfs dataset under rpool/lxd? (yes/no) [default=yes]: no
+Create a new ZFS pool? (yes/no) [default=yes]:
+Would you like to use an existing empty block device (e.g. a disk or partition)? (yes/no) [default=no]: yes
+Path to the existing block device: /dev/sdc2
+Would you like to connect to a MAAS server? (yes/no) [default=no]:
+Would you like to create a new local network bridge? (yes/no) [default=yes]: no
+Would you like to configure LXD to use an existing bridge or host interface? (yes/no) [default=no]: yes
+Name of the existing bridge or host interface: br0
+Would you like LXD to be available over the network? (yes/no) [default=no]: yes
+Address to bind LXD to (not including port) [default=all]: 192.168.129.65
+Port to bind LXD to [default=8443]:
+Trust password for new clients:
+Again:
+Would you like stale cached images to be updated automatically? (yes/no) [default=yes]
+Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: yes
+config:
+ core.https_address: 192.168.129.65:8443
+ core.trust_password: NOT_HERE
+networks: []
+storage_pools:
+- config:
+ source: /dev/disk/by-id/ata-TEAML5Lite3D240G_AB20190109A0101064-part2
+ description: ""
+ name: devil
+ driver: zfs
+profiles:
+- config: {}
+ description: ""
+ devices:
+ eth0:
+ name: eth0
+ nictype: bridged
+ parent: br0
+ type: nic
+ root:
+ path: /
+ pool: devil
+ type: disk
+ name: default
+cluster: null
+
+``` \ No newline at end of file