/srv/irclogs.ubuntu.com/2020/11/26/#ubuntu-server.txt

dablitzgood eveing05:40
dablitzI 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
dablitzI found a post for 17.10. But i do not think that will work in 20.04? I would lust like some confirmation05:44
dablitzanyone?05:51
dablitzwould :06:09
dablitzDon't mask or disable the systemd service.06:09
dablitzEdit /etc/netplan/01-netcfg.yaml and add optional: true to any devices that may not always be available.06:09
dablitzsudo netplan apply06:09
dablitzwork for me????06:09
eoli3nHi06:50
eoli3nTJ- yesterday i tried to chmod 777 which worked06:50
eoli3nso lets fix your fix06:51
eoli3n:)06:51
=== denningsrogue3 is now known as denningsrogue
dablitzI 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
eoli3nTJ- chmod og+x /exports/focal was missing (facepalm)08:23
eoli3nthanks for your help TJ-08:24
eoli3n:)08:24
dablitzeoli3n, would you be able to help with my question08:29
eoli3nwhere is printed "wait..." ?08:30
eoli3nat startup ?08:30
dablitzyes during boot08:30
eoli3nso that a systemd target08:30
eoli3nno time on it08:30
dablitzI have 2 Nic and it takes almost 3 minutes because of that08:30
dablitzto boot08:31
eoli3nyou issue is elsewhere08:31
eoli3nyour08:31
eoli3n2 NIC doesnt take 3 min to be configured08:31
eoli3nyou misconfigured one or both08:31
eoli3ni do have two NIC on my current ubuntu server test, and i don't wait any second to boot08:31
dablitzonly one is connected and it is DHCP08:31
eoli3nyou need to debug this08:31
eoli3ncan you open a tty2 ?08:32
dablitzyup08:32
eoli3nso check syslog, dmesg, journalctl -u networking08:33
eoli3njournalctl -u systemd-networkd if your install use it08:33
eoli3ndon't know what network manager is used by defaut on ubuntu server08:33
dablitzright 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 possible08:42
eoli3nthat's not what you want08:53
eoli3nyou want systemd to drop the configuration of the non used interface08:54
eoli3nwhy is that interface on the host if not configured ?08:54
eoli3nsystemd should not stuck on this08:54
eoli3nyou need to find what's happening08:54
eoli3nhttps://askubuntu.com/a/111047408:55
eoli3ni just copied/pasted your msg...08:55
lordievaderGood morning09:32
eoli3nHi12:53
eoli3nhow to run multiple commands with cloud-config late_command12:53
eoli3ni mean a script12:54
eoli3nnot as a list12:54
eoli3nwith ansible you can do something like shell: |12:54
dablitzI figured it out.13:22
eoli3ni wanted to know how...13:31
=== frickler is now known as frickler_pto
sheckihi, 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, is15:23
sheckithere 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!