Change advertised IP address in grug.cfg

Hi, I’m running MAAS 3.5 under a docker container and so far so good if I’am using host mode, but when I switch to bridge mode, the IP address that gets into grub.cfg is the container IP. My question is there a way to changed or override the advertised IP address by rackd to client machines? TIA

set default="0"
set timeout=0

menuentry 'Ephemeral' {
    echo   'Booting under MAAS direction...'
    linux  (http,172.27.0.3:5248)/images/3c025aba630a30f7d03d6b02f4947ebc1edf80fc1dcfc861bfc9d3a3352203bc/ubuntu/amd64/ga-22.04/jammy/stable/boot-kernel nomodeset root=squash:http://172.27.0.3:5248/images/9c3bc49e7960bc819d74a5144a3812f622e4cb216073a789fc62a13a3f633e29/ubuntu/amd64/ga-22.04/jammy/stable/squashfs ip=::::vast-vervet:BOOTIF ip6=off cc:\{'datasource_list': ['MAAS']\}end_cc cloud-config-url=http://172.27.0.3:5248/MAAS/metadata/latest/by-id/gk8rma/?op=get_preseed ro overlayroot=tmpfs overlayroot_cfgdisk=disabled log_host=172.27.0.3 log_port=5247 ---   BOOTIF=01-${net_default_mac}
    initrd (http,172.27.0.3:5248)/images/b2e605796fbeca4801cf393a8db53d7c8557dc03c1015121ca949a6e6681254c/ubuntu/amd64/ga-22.04/jammy/stable/boot-initrd
}

Hi @jfffrm

My question is there a way to changed or override the advertised IP address by rackd to client machines?

No, thats not possible without modifying the source code.

hi @troyanov, thank you for the response and pointing out the code for it.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.