adamant-kite-43734
12/08/2024, 6:35 PMcreamy-crayon-86622
12/08/2024, 6:37 PMfast-bear-60513
12/09/2024, 8:47 AMbaseImage did you use? The one in the example is no longer available for me, I would try with <http://registry.suse.com/suse/sl-micro/6.0/baremetal-os-container:latest|registry.suse.com/suse/sl-micro/6.0/baremetal-os-container:latest> (the baremetal flavor channel should be installed by default when you install Elemental from Rancher)
Also if you configured users in the `MachineRegistration`'s cloud-config, you should be able to login, or does the boot fail?creamy-crayon-86622
12/09/2024, 12:45 PM6.1 and using the devlegacy image. Both led to the same issue. Here is my Seed image yaml
# <https://elemental.docs.rancher.com/raspi-disk>
apiVersion: elemental.cattle.io/v1beta1
kind: SeedImage
metadata:
name: pi-img
namespace: fleet-default
spec:
type: raw
baseImage: registry.opensuse.org/isv/rancher/elemental/devlegacy/containers/suse/sl-micro/6.0/baremetal-os-container
targetPlatform: linux/arm64
registrationRef:
apiVersion: elemental.cattle.io/v1beta1
kind: MachineRegistration
name: pi
namespace: fleet-default
For my Machine registration, ive tried using the default machine registration and a scaled down version
apiVersion: elemental.cattle.io/v1beta1
kind: MachineRegistration
metadata:
name: pi
namespace: fleet-default
spec:
config:
cloud-config:
users:
- name: root
passwd: root
elemental:
install:
reboot: true
snapshotter:
type: btrfs
reset:
reboot: true
reset-oem: true
reset-persistent: truecreamy-crayon-86622
12/09/2024, 12:47 PMelemental-reset-agent? or something like that. My thoughts are that because of that failure, cloud-init doesnt get ran so my user/password doesnt get setcreamy-crayon-86622
12/09/2024, 12:48 PMfast-bear-60513
12/09/2024, 12:54 PMelemental-register-reset service. The raw image is a recovery partition, from this partition the elemental-register tries to "reset" the system, which acts as an installation/factory reset of the system. So one thing I'm thinking about is that maybe the disk is too small, normally it should be around 4 times the image size (I think baremetal flavor is around 1GB)fast-bear-60513
12/09/2024, 12:55 PMcreamy-crayon-86622
12/09/2024, 12:55 PMcreamy-crayon-86622
12/09/2024, 12:55 PMfast-bear-60513
12/09/2024, 12:56 PM/system/oem, this way your user settings should always be applied , for example `/system/oem/custom-login.yaml`:
#cloud-config
users:
- name: "root"
passwd: "root"fast-bear-60513
12/09/2024, 12:56 PMfast-bear-60513
12/09/2024, 12:57 PMcreamy-crayon-86622
12/09/2024, 12:58 PMfast-bear-60513
12/09/2024, 12:58 PM/usr/lib/systemd/elemental-register-reset.servicefast-bear-60513
12/09/2024, 12:59 PMfast-bear-60513
12/09/2024, 12:59 PMelemental-register --debug --reset manuallyfast-bear-60513
12/09/2024, 1:00 PMMachineRegistration.spec.elemental.reset.reboot: falsecreamy-crayon-86622
12/09/2024, 1:04 PMcreamy-crayon-86622
12/09/2024, 11:54 PMcreamy-crayon-86622
12/10/2024, 12:07 AMfast-bear-60513
12/10/2024, 8:03 AMfast-bear-60513
12/10/2024, 8:03 AMcreamy-crayon-86622
12/10/2024, 12:17 PM