Comments (1)
One means "correct" this problem Hypriot 1.12.3 is actually cited in /etc/network/interfaces.d/50-cloud-init.cfg:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
So, I found the means was:
- Creating and editing /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg per guidance in /etc/network/interfaces.d/50-cloud-init.cfg, then
- Updating /etc/network/interfaces.d/50-cloud-init.cfg with static IP
When in/etc/network/interfaces.d/50-cloud-init.cfg change:
iface eth0 inet dhcp
to:
iface eth0 inet static
address <your IPv4 address>/24
gateway <your IPv4 gateway>
This at least fixes the problem for Hypriot 1.12.3.
The real fix seems to need to be either:
- flash needs be updated to detect a static IP being set and then carry out the knock on changes, or
- flash example be supplied if flash could, in fact, push /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg into the image and likely push an change to /etc/network/interfaces.d/50-cloud-init.cfg.
If it wasn't for the knock on problem that is.
The problem now though is that when I try docker-compose up I get:
$ docker-compose up
Pulling mybroker (emqx/emqx:v3.2.7)...
ERROR: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:59161->[::1]:53: read: connection refused
Created new issue to cover the impact of so-called "fix" of static IP.
Cheers,
A
from image-builder-rpi.
Related Issues (20)
- OpenMax kernel device missing
- Invalid `authorized_keys` file when `ssh_authorized_keys` specified in `user-data` HOT 2
- There is a new 8GB variant of the Raspberry Pi 4 HOT 4
- [Request] Pi 4 USB boot support HOT 1
- Issue with setting up eth0 with static ip address HOT 9
- Windows Support HOT 5
- Unable to add any containers HOT 1
- Kubernetes CONFIG_MEMCG
- Fix for static IP breaks docker start up? HOT 1
- Waiting for SSH to be available HOT 1
- Camera is not supported...
- Docker official images exit with error 139 immediately
- Support other achitectures HOT 1
- SSH not working after boot
- current time is set too late during cloud-init HOT 2
- does not work with Pi Zero 2
- Upgrade to bullseye HOT 1
- CVE-2021-4034 Discovered
- Has this project been abandoned? HOT 5
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-rpi.