| /openbmc/webui-vue/src/views/Settings/Network/ |
| H A D | ModalHostname.vue | 3 id="modal-hostname" 8 <b-form id="hostname-settings" @submit.prevent="handleSubmit"> 12 :label="$t('pageNetwork.hostname')" 13 label-for="hostname" 16 id="hostname" 17 v-model="form.hostname" 19 :state="getValidationState(v$.form.hostname)" 20 @input="v$.form.hostname.$touch()" 23 <template v-if="v$.form.hostname.required.$invalid"> 26 <template v-if="v$.form.hostname.validateHostname.$invalid"> [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/ |
| H A D | hostname.sh | 14 HOSTNAME=$(/bin/hostname) 16 hostname -b -F /etc/hostname 2> /dev/null 22 if [ -f /etc/hostname ];then 23 hostname `cat /etc/hostname` 25 hostname localhost
|
| /openbmc/openbmc-test-automation/redfish/extended/ |
| H A D | test_bmc_file_mirroring.robot | 25 # /etc/hostname 34 # Save off the original hostname. 36 ... cat /etc/hostname 37 Set Suite Variable ${hostname} ${orig_hostname} 42 ${curr_hostname} ${stderr} ${rc}= BMC Execute Command hostname 45 …... msg=The hostname interface ${mirror_filename} and command value ${curr_hostname} do not match. 47 # File "hostname" should have synced to alt media space. 49 # group group- gshadow gshadow- hostname machine-id ssl systemd 55 ... cat /media/alt/var/persist/etc/hostname 58 ... msg=hostname primary file is not synced to the alt flash chip side. [all …]
|
| /openbmc/openbmc/meta-phosphor/recipes-phosphor/misc/ |
| H A D | phosphor-misc_git.bb | 8 first-boot-set-hostname \ 13 PACKAGECONFIG[first-boot-set-hostname] = "-Dfirst-boot-set-hostname=enabled, -Dfirst-boot-set-hostn… 24 SYSTEMD_SERVICE:${PN}-first-boot-set-hostname = "first-boot-set-hostname.service" 38 RDEPENDS:${PN}-first-boot-set-hostname += "bash" 42 # first-boot-set-hostname 43 FILES:${PN}-first-boot-set-hostname = "${bindir}/first-boot-set-hostname.sh" 52 …${@bb.utils.contains('PACKAGECONFIG', 'first-boot-set-hostname', '${PN}-first-boot-set-hostname', …
|
| /openbmc/bmcweb/http/ |
| H A D | mutual_tls.cpp | 51 bool isUPNMatch(std::string_view upn, std::string_view hostname) in isUPNMatch() argument 72 std::string_view hostDomainMatching = hostname; in isUPNMatch() 73 size_t dotHostPos = hostname.find_last_of('.'); in isUPNMatch() 76 hostDomainMatching = hostname.substr(dotHostPos + 1); in isUPNMatch() 90 hostname = hostname.substr(0, dotHostPos); in isUPNMatch() 94 std::string getUPNFromCert(X509* peerCert, std::string_view hostname) in getUPNFromCert() argument 132 if (!isUPNMatch(upn, hostname)) in getUPNFromCert() 159 std::string hostname = getHostName(); in getUsernameFromCert() local 160 if (hostname.empty()) in getUsernameFromCert() 165 return getUPNFromCert(cert, hostname); in getUsernameFromCert()
|
| /openbmc/openbmc/meta-yadro/meta-vegman/recipes-yadro/fru/vegman-fru-handler/ |
| H A D | baseboard-fru-handler.sh | 163 hostname=$(hostname) 164 if [ "${OPENBMC_TARGET_MACHINE}" = "${hostname}" ] ; then 165 hostname="${modelName,,}-${serialNumber}" 166 log_msg "Changing hostname to ${hostname}" 168 if ! hostnamectl set-hostname "${hostname}"; then
|
| /openbmc/docs/designs/ |
| H A D | unique-hostname.md | 1 # Setting a unique hostname to the BMC machine on first boot 11 In OpenBMC, the hostname discovery is done by the avahi Dbus service at the 13 getting the hostname conflict and the service name conflict. Hence, the problem 18 The detailed issue regarding the hostname and service name conflicts is 31 To solve this, we are proposing a service which assigns a unique hostname to the 33 hostname is to append the Serial Number retrieved from Inventory Manager to the 34 existing default hostname.
|
| /openbmc/bmcweb/include/ |
| H A D | hostname_monitor.hpp | 74 const std::string* hostname = nullptr; in onPropertyUpdate() local 79 hostname = std::get_if<std::string>(&propertyPair.second); in onPropertyUpdate() 82 if (hostname == nullptr) in onPropertyUpdate() 87 BMCWEB_LOG_DEBUG("Read hostname from signal: {}", *hostname); in onPropertyUpdate() 124 cnValue, *hostname, isSelfSigned); in onPropertyUpdate() 136 cnValue != *hostname) in onPropertyUpdate() 140 *hostname); in onPropertyUpdate() 142 std::string certData = ensuressl::generateSslCertificate(*hostname); in onPropertyUpdate()
|
| /openbmc/qemu/migration/ |
| H A D | tls.c | 122 const char *hostname, in migration_tls_client_create() argument 134 hostname = tls_hostname; in migration_tls_client_create() 137 return qio_channel_tls_new_client(ioc, creds, hostname, errp); in migration_tls_client_create() 142 const char *hostname, in migration_tls_channel_connect() argument 147 tioc = migration_tls_client_create(ioc, hostname, errp); in migration_tls_channel_connect() 153 s->hostname = g_strdup(hostname); in migration_tls_channel_connect() 154 trace_migration_tls_outgoing_handshake_start(hostname); in migration_tls_channel_connect()
|
| H A D | socket.c | 47 char *hostname; member 56 g_free(data->hostname); in socket_connect_data_free() 72 trace_migration_socket_outgoing_connected(data->hostname); in socket_outgoing_migration() 80 migration_channel_connect(data->s, sioc, data->hostname, err); in socket_outgoing_migration() 99 data->hostname = g_strdup(saddr->u.inet.host); in socket_start_outgoing_migration()
|
| /openbmc/ipmitool/contrib/ |
| H A D | create_webpage_compact.sh | 10 hostname=$HOSTNAME 54 <title>$hostname</title> 57 <h2>$hostname</h2> 73 file="$rrd_dir/$hostname-${split[0]}.rrd" 108 <RRD::GRAPH "$img_dir/$hostname-$group-daily.gif" 121 <RRD::GRAPH "$img_dir/$hostname-$group-weekly.gif" 135 <RRD::GRAPH "$img_dir/$hostname-$group-monthly.gif"
|
| H A D | create_webpage.sh | 10 hostname=$HOSTNAME 54 <title>$hostname</title> 57 <h2>$hostname</h2> 73 file="$rrd_dir/$hostname-${split[0]}.rrd" 168 <RRD::GRAPH "$img_dir/$hostname-$group-daily.gif" 181 <RRD::GRAPH "$img_dir/$hostname-$group-weekly.gif" 195 <RRD::GRAPH "$img_dir/$hostname-$group-monthly.gif"
|
| H A D | collect_data.sh | 10 hostname=$HOSTNAME 26 file="$rrd_dir/$hostname-${split[0]}.rrd"
|
| /openbmc/u-boot/board/keymile/scripts/ |
| H A D | ramfs-common.txt | 8 rootfsfile=${hostname}/rootfsImage 10 …set_fdthigh || test ${arch} != arm; then tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb; else … 11 tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage} 12 tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
|
| /openbmc/openbmc-test-automation/ffdc/lib/ |
| H A D | ssh_utility.py | 25 def __init__(self, hostname, username, password, port_ssh): argument 48 self.hostname = hostname 70 hostname=self.hostname, 193 % self.hostname 202 "\tScript continues generating FFDC on %s." % self.hostname
|
| /openbmc/openbmc/meta-yadro/recipes-core/base-files/ |
| H A D | base-files%.bbappend | 2 if [ "${hostname}" ]; then 3 echo ${hostname} > ${D}${sysconfdir}/hostname
|
| /openbmc/openbmc/meta-openpower/recipes-phosphor/network/first-boot-set-hostname/ |
| H A D | first-boot-set-hostname.sh | 5 echo "$@" | systemd-cat -t first-boot-set-hostname -p emerg 75 hostnamectl set-hostname "$(hostname)-${MAC_ADDR}" 77 hostnamectl set-hostname "$(hostname)-${BMC_SN}" 85 touch "/var/lib/first-boot-set-hostname"
|
| /openbmc/openbmc-test-automation/ffdc/ |
| H A D | ffdc_collector.py | 146 hostname, argument 192 self.hostname = hostname 366 response = os.system("ping -c 2 %s 2>&1 >/dev/null" % self.hostname) 369 "\n\t[Check] %s is ping-able.\t\t [OK]" % self.hostname 375 % self.hostname 393 "\n\t---- Start communicating with %s ----" % self.hostname 452 self.hostname, self.username, self.password, self.port_ssh 458 % self.hostname 469 % self.hostname 486 self.hostname, self.username, self.password [all …]
|
| /openbmc/phosphor-misc/firstboot/ |
| H A D | meson.build | 4 required: get_option('first-boot-set-hostname'), 24 'first-boot-set-hostname.sh', 30 input: 'first-boot-set-hostname.service', 31 output: 'first-boot-set-hostname.service',
|
| H A D | first-boot-set-hostname.sh | 5 echo "$@" | systemd-cat -t first-boot-set-hostname -p emerg 79 NEW_HOSTNAME="$(hostname)-${MAC_ADDR//:/}" 81 NEW_HOSTNAME="$(hostname)-${BMC_SN}" 101 touch "/var/lib/first-boot-set-hostname"
|
| /openbmc/openbmc/poky/meta/recipes-extended/net-tools/ |
| H A D | net-tools_2.10.bb | 23 PACKAGECONFIG ??= "hostname arp serial plip" 24 PACKAGECONFIG[hostname] = "" 41 if ${@bb.utils.contains('PACKAGECONFIG', 'hostname', 'true', 'false', d)} ; then 90 …${@bb.utils.contains('PACKAGECONFIG', 'hostname', 'dnsdomainname domainname hostname nisdomainname… 94 ALTERNATIVE:${PN}-doc += "${@bb.utils.contains('PACKAGECONFIG', 'hostname', 'hostname.1 dnsdomainna… 95 ALTERNATIVE_LINK_NAME[hostname.1] = "${mandir}/man1/hostname.1" 97 ALTERNATIVE_PRIORITY[hostname.1] = "10"
|
| /openbmc/phosphor-networkd/docs/ |
| H A D | Network-Configuration.md | 68 }' https://<hostname/ip>/xyz/openbmc_project/network/eth0/action/IP 81 https://<hostname/ip>/xyz/openbmc_project/network/config/attr/DefaultGateway 94 https://<hostname/ip>/xyz/openbmc_project/network/config/attr/DefaultGateway 110 https://<hostname/ip>/xyz/openbmc_project/network/config/attr/HostName 121 "<hostname>"}' 122 https://<hostname/ip>/xyz/openbmc_project/network/config/attr/HostName 138 https://<hostname/ip>/xyz/openbmc_project/network/eth0/ipv4/fbfc29b 151 https://<hostname/ip>/xyz/openbmc_project/network/eth0/attr/DHCPEnabled 162 1}' https://<hostname/ip>/xyz/openbmc_project/network/eth0/attr/DHCPEnabled 175 https://<hostname/ip>/xyz/openbmc_project/network/eth0/attr/MACAddress [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/base-files/ |
| H A D | base-files_3.0.14.bb | 65 # By default the hostname is the machine name. If the hostname is unset then a 66 # /etc/hostname file isn't written, suitable for environments with dynamic 69 # The hostname can be changed outside of this recipe by using 70 # hostname:pn-base-files = "my-host-name". 71 hostname = "${MACHINE}" 115 # deal with hostname 116 if [ "${hostname}" ]; then 117 echo ${hostname} > ${D}${sysconfdir}/hostname 118 echo "127.0.1.1 ${hostname}" >> ${D}${sysconfdir}/hosts 167 …{PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname ${sysconfdir}/hosts'][(d.getVar('hostn…
|
| /openbmc/ipmitool/src/plugins/ |
| H A D | ipmi_intf.c | 209 ipmi_intf_session_set_hostname(struct ipmi_intf * intf, char * hostname) in ipmi_intf_session_set_hostname() argument 211 if (intf->ssn_params.hostname != NULL) { in ipmi_intf_session_set_hostname() 212 free(intf->ssn_params.hostname); in ipmi_intf_session_set_hostname() 213 intf->ssn_params.hostname = NULL; in ipmi_intf_session_set_hostname() 215 if (hostname == NULL) { in ipmi_intf_session_set_hostname() 218 intf->ssn_params.hostname = strdup(hostname); in ipmi_intf_session_set_hostname() 348 if (params->hostname == NULL || strlen((const char *)params->hostname) == 0) { in ipmi_intf_socket_connect() 364 if (getaddrinfo(params->hostname, service, &hints, &rp0) != 0) { in ipmi_intf_socket_connect() 366 params->hostname); in ipmi_intf_socket_connect() 416 params->hostname); in ipmi_intf_socket_connect()
|
| /openbmc/phosphor-webui/app/common/services/ |
| H A D | dataService.js | 27 this.hostname = ''; 51 window.location.hostname + 75 this.hostname = data.hostname;
|