dablitz | good eveing | 05:40 |
---|---|---|
dablitz | I would like to adjust "wait for network to be configured" in server 20.04 to 10 seconds. could someone direct me to a how-to or provide som insight on how I can do that? | 05:41 |
dablitz | I found a post for 17.10. But i do not think that will work in 20.04? I would lust like some confirmation | 05:44 |
dablitz | anyone? | 05:51 |
dablitz | would : | 06:09 |
dablitz | Don't mask or disable the systemd service. | 06:09 |
dablitz | Edit /etc/netplan/01-netcfg.yaml and add optional: true to any devices that may not always be available. | 06:09 |
dablitz | sudo netplan apply | 06:09 |
dablitz | work for me???? | 06:09 |
eoli3n | Hi | 06:50 |
eoli3n | TJ- yesterday i tried to chmod 777 which worked | 06:50 |
eoli3n | so lets fix your fix | 06:51 |
eoli3n | :) | 06:51 |
=== denningsrogue3 is now known as denningsrogue | ||
dablitz | I would like to adjust "wait for network to be configured" in server 20.04 to 10 seconds. could someone direct me to a how-to or provide som insight on how I can do that? | 07:07 |
eoli3n | TJ- chmod og+x /exports/focal was missing (facepalm) | 08:23 |
eoli3n | thanks for your help TJ- | 08:24 |
eoli3n | :) | 08:24 |
dablitz | eoli3n, would you be able to help with my question | 08:29 |
eoli3n | where is printed "wait..." ? | 08:30 |
eoli3n | at startup ? | 08:30 |
dablitz | yes during boot | 08:30 |
eoli3n | so that a systemd target | 08:30 |
eoli3n | no time on it | 08:30 |
dablitz | I have 2 Nic and it takes almost 3 minutes because of that | 08:30 |
dablitz | to boot | 08:31 |
eoli3n | you issue is elsewhere | 08:31 |
eoli3n | your | 08:31 |
eoli3n | 2 NIC doesnt take 3 min to be configured | 08:31 |
eoli3n | you misconfigured one or both | 08:31 |
eoli3n | i do have two NIC on my current ubuntu server test, and i don't wait any second to boot | 08:31 |
dablitz | only one is connected and it is DHCP | 08:31 |
eoli3n | you need to debug this | 08:31 |
eoli3n | can you open a tty2 ? | 08:32 |
dablitz | yup | 08:32 |
eoli3n | so check syslog, dmesg, journalctl -u networking | 08:33 |
eoli3n | journalctl -u systemd-networkd if your install use it | 08:33 |
eoli3n | don't know what network manager is used by defaut on ubuntu server | 08:33 |
dablitz | right now it is saying "A start job is running for Wait for Network to be Configured (47s / no limit)" <--- this continues to almost 3 minutes before moving on. I want to net the no limit to 10 seconds if it were possible | 08:42 |
eoli3n | that's not what you want | 08:53 |
eoli3n | you want systemd to drop the configuration of the non used interface | 08:54 |
eoli3n | why is that interface on the host if not configured ? | 08:54 |
eoli3n | systemd should not stuck on this | 08:54 |
eoli3n | you need to find what's happening | 08:54 |
eoli3n | https://askubuntu.com/a/1110474 | 08:55 |
eoli3n | i just copied/pasted your msg... | 08:55 |
lordievader | Good morning | 09:32 |
eoli3n | Hi | 12:53 |
eoli3n | how to run multiple commands with cloud-config late_command | 12:53 |
eoli3n | i mean a script | 12:54 |
eoli3n | not as a list | 12:54 |
eoli3n | with ansible you can do something like shell: | | 12:54 |
dablitz | I figured it out. | 13:22 |
eoli3n | i wanted to know how... | 13:31 |
=== frickler is now known as frickler_pto | ||
shecki | hi, I want to setup autoinstall and have trouble getting the network part right. problem is, the user-data should match a lot of systems with different number of network interfaces, so I don't know which ones will be present and I need a config that just looks for active link and configure these with dhcp but leaves all other untouched. is this doable or do I need to know which interface is up and running and if I need to know that, is | 15:23 |
shecki | there a possibility to just ignore all other devices? | 15:23 |
=== anton is now known as anton_ |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!