Sorry for the misunderstanding above, I’m guessing that ssh hung up, or a lot was going in the background without my knowledge and had my system very slow, but this worked for me to launch the vm
lxc launch hassio ha20 --vm -c security.secureboot=false
Now I can access the VM shell using lxc console ha20
Trying to exec in the shell does not work, and I think this is normal for my current situation.
lxc exec ha20 bash
Error: Failed to connect to lxd-agent
What I cannot understand now is that I cannot obtain an IP with my current macvlan profile. It works for other normal ( images:debian/10 ) containers and virtual machine.
The current macvlan profile:
root@iowetea:~# lxc profile show common
config:
boot.autostart: "true"
environment.TZ: Europe/Malta
description: Iowetea common profile
devices:
eth0:
name: eth0
nictype: macvlan
parent: enp2s0f0
type: nic
iowetea-main:
path: /mnt/iowetea/main/
source: /root/iowetea/main/
type: disk
iowetea-repos:
path: /mnt/iowetea/repos/
source: /root/iowetea/repos/
type: disk
root:
path: /
pool: default
type: disk
name: common
used_by:
- /1.0/instances/net
- /1.0/instances/ha20
- /1.0/instances/mytestmachine
`
What can I do to allow LAN access from this virtual machine instance?