aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-ac:1f:6b:ac:d9:2e
blob: acab72e69770bff65e1a60883102cdefb7655cae (plain)
1
2
3
4
menuentry "Install s26-nomad" {
    linux    /casper/ubuntu-jammy-amd64/vmlinuz ip=dhcp interface=ac:1f:6b:ac:d9:2e url=https://releases.ubuntu.com/22.04/ubuntu-22.04.1-live-server-amd64.iso autoinstall ds=nocloud-net\;s=http://10.30.51.20:8081/ubuntu_jammy_amd64/ac:1f:6b:ac:d9:2e/ --- console=ttyS0,115200n8 quiet
    initrd   /casper/ubuntu-jammy-amd64/initrd
}
kt">va_list * args) { u8 *result = va_arg (*args, u8 *); ip_main_t *im = &ip_main; ip_protocol_info_t *pi; int i; if (!unformat_user (input, unformat_vlib_number_by_name, im->protocol_info_by_name, &i)) return 0; pi = vec_elt_at_index (im->protocol_infos, i); *result = pi->protocol; return 1; } u8 * format_tcp_udp_port (u8 * s, va_list * args) { int port = va_arg (*args, int); ip_main_t *im = &ip_main; tcp_udp_port_info_t *pi; pi = ip_get_tcp_udp_port_info (im, port); if (pi) s = format (s, "%s", pi->name); else s = format (s, "%d", clib_net_to_host_u16 (port)); return s; } uword unformat_tcp_udp_port (unformat_input_t * input, va_list * args) { u16 *result = va_arg (*args, u16 *); ip_main_t *im = &ip_main; tcp_udp_port_info_t *pi; u32 i, port; if (unformat_user (input, unformat_vlib_number_by_name, im->port_info_by_name, &i)) { pi = vec_elt_at_index (im->port_infos, i); port = pi->port; } else if (unformat_user (input, unformat_vlib_number, &port) && port < (1 << 16)) port = clib_host_to_net_u16 (port); else return 0; *result = port; return 1; } /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */