bluerobotics / BlueOS

The open source platform for ROV, USV, robotic system operation, development, and expansion.
https://blueos.cloud/docs/
Other
140 stars 70 forks source link

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

Open matt-bathyscope opened 3 months ago

matt-bathyscope commented 3 months ago

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

patrickelectric commented 2 months ago

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