hetzneronline / installimage

Bash scripts to universally deploy various distributions
Other
517 stars 143 forks source link

installimage version on Server (via NFS) is different #89

Closed guettli closed 10 months ago

guettli commented 10 months ago

Today we see that installimage behaves differently.

We guess that the script installimage has changed.

I attached the diff between the current master on Github and the code which is on the server (mounted on /root/.oldroot/nfs/install/):

installimage-diff.txt

It would be great, if we could see the latest version here on github, so that we can more easily see what has changed.

Please update the code here at Github.

guettli commented 10 months ago

Our image-name did no match, so it failed on these lines (which are not published here yet)

  if [[ "$IMG_ARCH" == 'unknown' ]]; then
    graph_error "ERROR: can not determine image arch from filename"
    return 1
  fi
asciiprod commented 10 months ago

We have added additional validation to prevent accidental installing arm64 images on x86 rescue systems: https://github.com/hetzneronline/installimage/blob/master/functions.sh#L966

guettli commented 10 months ago

thank you.