Comments (5)
from nixos-infect.
Run ip a; ip r; ip -6 r
before and after running nixos-infect
, compare them against each other and what's in /etc/nixos/networking.nix
. Probably it failed to extract the network configuration and put it into networking.nix
.
from nixos-infect.
I pretty much believe #27 fixes this.
from nixos-infect.
@alexanderkjeldaas can you confirm?
from nixos-infect.
@asymmetric @alexanderkjeldaas @elitak I can confirm that workaround I've mentioned didn't help.
Though I've diagnosed root cause: route
config is missing. In networking.nix
I had to put
networking.interfaces.eth0.ipv4.routes = [ { address = "172.31.1.1"; prefixLength = 32; } ];
Then restart:
systemctl restart network-addresses-eth0
systemctl restart network-setup
Then ip route
gets populated. Without route config ip route
is empty and ip route replace default ...
in networking setup script failes (no default route, nothing to replace).
from nixos-infect.
Related Issues (20)
- Does NOT work on DigitalOcean Droplet with Ubuntu 22.04 without `export doNetConf=y` HOT 4
- Intermittent 'ERROR: Missing bzcat' error
- nixos-infect crashes with a nix syntax error on scaleway instances
- Trimming SSH lines removes spaces from them HOT 1
- Hetzner Cloud IPv6 not working HOT 2
- wishlist: disk encryption HOT 2
- New lightsail instance use /dev/nvme0n1 instead of /dev/xvda as boot device HOT 1
- Does not work for Hetznercloud using cloud config HOT 1
- nixos-infect on Ionos HOT 3
- Tested on arubacloud: working with `doNetConf=y`
- nix-env errors about using a symlink path HOT 3
- No space left on device on nixos-rebuild HOT 3
- SSH key extraction doesn't work with ssh-import-id
- DigitalOcean: `rm: cannot remove '/boot/efi': Device or resource busy` HOT 4
- (Security/Privacy) Stop supporting Vultur, i.e. remove it from the readme HOT 1
- cannot find name for group ID 30000 HOT 4
- Hetnzer: Channel 24.05 not working HOT 4
- DigitalOcean: Incorrect network configuration
- Some way to get some files over to the new system?
- on digitalocean `sudo nixos-rebuild switch` produces no changes HOT 4
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 nixos-infect.