bluerobotics / bluerobotics/BlueOS

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

Open
#2,665 1 comment 1 reaction 0 assignees View on GitHub
bug triage ui
Dominant language
Vue
Stars
453
Forks
151
Avg merge
1d 3h
Merged PRs (30d)
174

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.