#NEWLINE# def get_kernel_cmd( self , boot_from = 'cdrom' , iface = 'enp0s3' , wait_for_external_config = 'yes' ) : #NEWLINE# #INDENT# return ( ( '<Wait>\n<Wait>\n<Wait>\n<Esc><Enter>\n<Wait>\nvmlinuz initrd=initrd.img ks=cdrom:/ks.cfg\n ip={ip}\n netmask={mask}\n gw={gw}\n dns1={nameserver}\n hostname={hostname}\n dhcp_interface=' + self ) + '\n showmenu=no\n <Enter>\n' )