Giter VIP home page Giter VIP logo

Comments (9)

georgkreimer avatar georgkreimer commented on June 5, 2024 2

FYI seems like it's "/boot/user-data" nowadays

from image-builder-odroid-c1.

al-sabr avatar al-sabr commented on June 5, 2024 1

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.

alexgorbatchev avatar alexgorbatchev commented on June 5, 2024 1

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.

docbobo avatar docbobo commented on June 5, 2024

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.

docbobo avatar docbobo commented on June 5, 2024

In that case, you should just manually edit /boot/device-init.yml

from image-builder-odroid-c1.

al-sabr avatar al-sabr commented on June 5, 2024

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.

alexgorbatchev avatar alexgorbatchev commented on June 5, 2024

FYI seems lit it's cloud-init nowadays (not device-init)

from image-builder-odroid-c1.

pve avatar pve commented on June 5, 2024

Raspi-config worked for me. Also on hypriot.

from image-builder-odroid-c1.

mkmojo avatar mkmojo commented on June 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.