Note
Replace <Instance_ID>
with the unique ID of your Instance, e.g. 0500ebd2-d70d-49af-a969-3ac09b6f7fff
.
The newest Ubuntu 24.04 Noble Numbat Instances may become unreachable after a reboot. This distribution now uses dhcpcd which may encounter longer delays to reapply its DHCP lease after a reboot.
Instances created after June 11th 2024 will not encounter this problem.
You can avoid this situation by increasing the dhcpcd timeout in its configuration file
sed -i 's/timeout 5/timeout 10/' /etc/dhcpcd.conftail /etc/dhcpcd.confoption rapid_commit# A ServerID is required by RFC2131.require dhcp_server_identifier# Generate SLAAC address using the Hardware Address of the interface#slaac hwaddr# OR generate Stable Private IPv6 Addresses based from the DUIDslaac privatetimeout 10
Rescue mode allows you to boot your Instance into a temporary operating system, running from the Instance’s RAM. Rescue mode is often used to diagnose and resolve issues such as faulty kernel configurations, networking issues, firewall configurations, and more.
boot-type
to rescue
and reboot your Instance into rescue mode using the CLI:
scw instance server stop <Instance_ID>scw instance server update <Instance_ID> boot-type=rescuescw instance server start <Instance_ID>
Replace <Instance_ID>
with the unique ID of your Instance, e.g. 0500ebd2-d70d-49af-a969-3ac09b6f7fff
.
cat /proc/partitionsmajor minor #blocks name8 0 9765625 sda8 1 9634536 sda18 14 3072 sda148 15 126976 sda15
mount /dev/sda1 /mnt
chroot
command to get into your Instance’s root filesystem. You can then change the timeout value for dhcpcd as shown above :
chroot /mntsed -i 's/timeout 5/timeout 10/' /etc/dhcpcd.conftail /etc/dhcpcd.confoption rapid_commit# A ServerID is required by RFC2131.require dhcp_server_identifier# Generate SLAAC address using the Hardware Address of the interface#slaac hwaddr# OR generate Stable Private IPv6 Addresses based from the DUIDslaac privatetimeout 10exitumount /mnt
boot_type
to local
and reboot the Instance:
scw instance server stop <Instance_ID>scw instance server update <Instance_ID> boot-type=localscw instance server start <Instance_ID>