Take a look at the confd.conf(5) man page under for example “/confdConfig/cli/prompt1”. The default prompt follow the pattern \u@\h\M> where \h represents “the hostname up to the first ‘.’”
Replace the \h with \Hif you want to pass a hostname with letters in it and one ‘.’ through, in your case, the confd_cli program.