BlueOS icon indicating copy to clipboard operation
BlueOS copied to clipboard

bug: Install script fails if `/etc/resolve.conf.host` already exists

Open matt-bathyscope opened this issue 1 year ago • 1 comments

Bug description

The install script will fail if /etc/resolve.conf.host already exists. https://github.com/bluerobotics/BlueOS/blob/012a29e20e656a0f7e7a3e24b0b8748cb5f7602e/install/install.sh#L247

Default extensions settings configured successfully.
d98dd6e4adcddf4198a35d331b87b06c3e8655201a9f11006b6f923c7effc157
Starting network configuration.
Configuring blueos avahi service
Avahi daemon config file found, changing avahi host name to: blueos-avahi
Configure hostname to blueos
Restarting machine-id.
Restarting random-seeds.
creating dns link
ln: failed to create hard link '/etc/resolv.conf.host': File exists

Steps to reproduce

  1. Already have a file at /etc/resolve.conf.host (i.e., from a previous install)
  2. sudo su -c 'curl -fsSL https://raw.githubusercontent.com/bluerobotics/blueos-docker/master/install/install.sh | bash'

Primary pain point(s)

No response

Additional context

No response

Prerequisites

  • [X] I have checked to make sure that a similar request has not already been filed or fixed.

matt-bathyscope avatar Jun 05 '24 18:06 matt-bathyscope

@matt-bathyscope can you confirm that this is still an issue ?

patrickelectric avatar Jun 19 '24 19:06 patrickelectric