Comments (9)
FYI seems like it's "/boot/user-data" nowadays
from image-builder-odroid-c1.
Ok I did this :
sudo device-init hostname set "bambuserver.1"
It does the job but it is not permanent
When I restarted the device and the computer name is still black-pearl
from image-builder-odroid-c1.
I finally found how to change host name on a running instance. These instructions worked for me: https://aws.amazon.com/premiumsupport/knowledge-center/linux-static-hostname-rhel7-centos7/
from image-builder-odroid-c1.
HypriotOS uses device-init
for those things:
HypriotOS/arm64: pirate@black-pearl in ~
$ device-init
device-init allows you to configure various aspect of your devices.
This ranges from configuration as simple as setting a hostname to
more complex stuff as configuring WiFi access.
Usage:
device-init [flags]
device-init [command]
Available Commands:
cluster-lab manage cluster-lab settings
docker This command allows to do Docker related stuff
hostname Set or show hostname
wifi set or show WiFi settings
Flags:
-c, --config string[="/boot/device-init.yaml"] config file (default is /boot/device-init.yaml)
-h, --help help for device-init
Use "device-init [command] --help" for more information about a command.
from image-builder-odroid-c1.
In that case, you should just manually edit /boot/device-init.yml
from image-builder-odroid-c1.
Correct it seems to override everything from the beginning.
Now that I have commented the hostname line it is all working.
Thank you!
from image-builder-odroid-c1.
FYI seems lit it's cloud-init
nowadays (not device-init
)
from image-builder-odroid-c1.
Raspi-config worked for me. Also on hypriot.
from image-builder-odroid-c1.
I finally found how to change host name on a running instance. These instructions worked for me: https://aws.amazon.com/premiumsupport/knowledge-center/linux-static-hostname-rhel7-centos7/
Confirmed that this works for me as well.
I have a cluster of pi 4, running HypriotOS.
from image-builder-odroid-c1.
Related Issues (20)
- Make sure not to use an outdated rootfs HOT 1
- No HDMI output HOT 8
- increase SD card lifetime HOT 1
- DHCP Client does not work out of the box
- Add VERSION file and version number to filename
- Update Docker tools
- Write HYPRIOT_DEVICE and HYPRIOT_IMAGE_VERSION to /etc/os-release
- Update tools to "Barbossa" HOT 2
- After some time impossible to connect to board via SSH. HOT 5
- Tutorial steps are not reproduceable HOT 1
- Traefick and Docker Swarm generating OVERLAY network error HOT 29
- How to update my actual HypriotOS with the latest release? HOT 6
- Latest release v0.4.2 HDMI output doesn't work on HD TV HOT 2
- device-init fails with panic on Odroid C1 HOT 4
- Docker with Traefik running inside swarm manager as a service is not able to redirect requests to services that are in the same overlay network outside from the manager to other service in worker nodes. HOT 21
- Bug fix with CONFIG_VXLAN is not included in the latest image build HOT 13
- make docker-machine failed: Host already exists: "image-builder-odroid-c1"
- Set partition labels HOT 1
- Docker engine doesn't start on system boot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-builder-odroid-c1.