proxmox_hassos_install/README.md

20 lines
1.3 KiB
Markdown
Raw Normal View History

2019-02-18 15:33:12 +01:00
# Proxmox HassOS Install
To create a new HassOS VM in Proxmox with the latest version, run the following in a SSH session or the console from Proxmox interface
```
2019-02-18 15:53:38 +01:00
TMP=`mktemp -d`;pushd $TMP > /dev/null;wget -qO - https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh | bash;popd > /dev/null;rm -rf $TMP;unset TMP
2019-02-18 15:33:12 +01:00
```
2019-02-18 15:53:38 +01:00
After script completes, click on the new VM (_the script will tell you the ID_), click on the `Hardware` tab for the VM and change the `Memory` and `Processors` settings to what you desire. The `Hard Disk` can be expanded by clicking on it, then click on the `Resize` button above. The network MAC address can be changed by selecting `Network Device` and clicking `Edit` above. Once all changes have been made, click `Start` above.
2019-02-18 16:25:42 +01:00
To get the DHCP address assigned to the VM, open the console after the VM has been started, when the messages slow down press the `Enter` key a couple of times until you see the following
```
Welcome to HassOS
hassio login:
```
Login using `root`, no password is requested. When you see the `hassio > ` prompt, type `login`. You should now see a `# ` prompt. Type `ls -l /sys/class/net` and look for a name that looks like `enp0s18`. We'll use that name in the following command `ip addr show dev enp0s18`. Your IP address will be listed right after the `inet`.