Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/openbmc/webui-vue/src/views/Settings/Network/
H A DModalHostname.vue3 id="modal-hostname"
13 label-for="hostname"
16 id="hostname"
17 v-model="form.hostname"
39 form="hostname-settings"
59 hostname: {
67 hostname: '',
72 hostname() {
73 this.form.hostname = this.hostname;
79 hostname: {
[all …]
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dhostname.sh14 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/linux/fs/smb/client/
H A Ddns_resolve.c34 const char *hostname, *sep; in dns_resolve_server_name_to_ip() local
49 hostname = unc + 2; in dns_resolve_server_name_to_ip()
52 sep = memchr(hostname, '/', len); in dns_resolve_server_name_to_ip()
54 len = sep - hostname; in dns_resolve_server_name_to_ip()
60 rc = cifs_convert_address(ip_addr, hostname, len); in dns_resolve_server_name_to_ip()
63 hostname); in dns_resolve_server_name_to_ip()
68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip()
72 __func__, len, len, hostname); in dns_resolve_server_name_to_ip()
75 __func__, len, len, hostname, ip, in dns_resolve_server_name_to_ip()
H A Dtrace.h985 __string(hostname, hostname)
995 __assign_str(hostname, hostname);
1019 __string(hostname, hostname)
1031 __assign_str(hostname, hostname);
1053 char *hostname),
1058 __string(hostname, hostname)
1063 __assign_str(hostname, hostname);
1136 char *hostname,
1144 __string(hostname, hostname)
1152 __assign_str(hostname, hostname);
[all …]
/openbmc/openbmc-test-automation/redfish/extended/
H A Dtest_bmc_file_mirroring.robot23 # /etc/hostname
32 # Save off the original hostname.
34 ... cat /etc/hostname
35 Set Suite Variable ${hostname} ${orig_hostname}
40 ${curr_hostname} ${stderr} ${rc}= BMC Execute Command hostname
43 …... msg=The hostname interface ${mirror_filename} and command value ${curr_hostname} do not match.
45 # File "hostname" should have synced to alt media space.
47 # group group- gshadow gshadow- hostname machine-id ssl systemd
53 ... cat /media/alt/var/persist/etc/hostname
56 ... msg=hostname primary file is not synced to the alt flash chip side.
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/misc/
H A Dphosphor-misc_git.bb8 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/qemu/migration/
H A Dtls.c118 const char *hostname, in migration_tls_client_create() argument
130 hostname = tls_hostname; in migration_tls_client_create()
133 return qio_channel_tls_new_client(ioc, creds, hostname, errp); in migration_tls_client_create()
138 const char *hostname, in migration_tls_channel_connect() argument
143 tioc = migration_tls_client_create(ioc, hostname, errp); in migration_tls_channel_connect()
149 s->hostname = g_strdup(hostname); in migration_tls_channel_connect()
150 trace_migration_tls_outgoing_handshake_start(hostname); in migration_tls_channel_connect()
/openbmc/bmcweb/include/
H A Dhostname_monitor.hpp56 const std::string* hostname = nullptr; in onPropertyUpdate() local
61 hostname = std::get_if<std::string>(&propertyPair.second); in onPropertyUpdate()
64 if (hostname == nullptr) in onPropertyUpdate()
69 BMCWEB_LOG_DEBUG("Read hostname from signal: {}", *hostname); in onPropertyUpdate()
106 cnValue, *hostname, isSelfSigned); in onPropertyUpdate()
118 cnValue != *hostname) in onPropertyUpdate()
122 *hostname); in onPropertyUpdate()
125 *hostname); in onPropertyUpdate()
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-yadro/fru/vegman-fru-handler/
H A Dbaseboard-fru-handler.sh163 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 Dunique-hostname.md1 # 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/ipmitool/contrib/
H A Dcreate_webpage_compact.sh10 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 Dcreate_webpage.sh10 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"
/openbmc/u-boot/board/keymile/scripts/
H A Dramfs-common.txt8 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/
H A Dffdc_collector.py119 hostname, argument
151 self.hostname = hostname
286 % self.hostname
360 % self.hostname
371 % self.hostname
385 % self.hostname
391 % self.hostname
627 % self.hostname
641 % self.hostname
745 % self.hostname
[all …]
/openbmc/openbmc-test-automation/ffdc/lib/
H A Dssh_utility.py25 def __init__(self, hostname, username, password, port_ssh): argument
38 self.hostname = hostname
58 hostname=self.hostname,
156 % self.hostname
165 "\tScript continues generating FFDC on %s." % self.hostname
/openbmc/linux/fs/nfs/
H A Ddns_resolve.c62 char *hostname; member
93 kfree(new->hostname); in nfs_dns_ent_init()
94 new->hostname = kmemdup_nul(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init()
95 if (new->hostname) { in nfs_dns_ent_init()
109 kfree(item->hostname); in nfs_dns_ent_free_rcu()
126 item->hostname = NULL; in nfs_dns_ent_alloc()
145 qword_add(bpp, blen, key->hostname); in nfs_dns_request()
156 if (!nfs_cache_upcall(cd, key->hostname)) in nfs_dns_upcall()
173 return memcmp(a->hostname, b->hostname, a->namelen) == 0; in nfs_dns_match()
252 key.hostname = buf1; in nfs_dns_parse()
[all …]
H A Dnfs4super.c144 const char *hostname, in do_nfs4_mount() argument
176 len = strlen(hostname) + 5; in do_nfs4_mount()
184 if (strchr(hostname, ':')) in do_nfs4_mount()
185 param.size = snprintf(param.string, len, "[%s]:/", hostname); in do_nfs4_mount()
187 param.size = snprintf(param.string, len, "%s:/", hostname); in do_nfs4_mount()
227 fc, ctx->nfs_server.hostname, in nfs4_try_get_tree()
250 fc, ctx->nfs_server.hostname, in nfs4_get_referral_tree()
/openbmc/openbmc/poky/meta/recipes-extended/net-tools/
H A Dnet-tools_2.10.bb23 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/openbmc/meta-openpower/recipes-phosphor/network/first-boot-set-hostname/
H A Dfirst-boot-set-hostname.sh5 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/phosphor-networkd/docs/
H A DNetwork-Configuration.md67 }' https://<hostname/ip>/xyz/openbmc_project/network/eth0/action/IP
103 https://<hostname/ip>/xyz/openbmc_project/network/config/attr/HostName
112 "<hostname>"}'
113 https://<hostname/ip>/xyz/openbmc_project/network/config/attr/HostName
125 https://<hostname/ip>/xyz/openbmc_project/network/eth0/ipv4/fbfc29b
136 https://<hostname/ip>/xyz/openbmc_project/network/eth0/attr/DHCPEnabled
156 https://<hostname/ip>/xyz/openbmc_project/network/eth0/attr/MACAddress
169 https://<hostname/ip>/xyz/openbmc_project/network/eth0/attr/MACAddress
185 https://<hostname/ip>/xyz/openbmc_project/network/action/VLAN
190 https://<hostname/ip>/xyz/openbmc_project/network/eth0_50
[all …]
/openbmc/ipmitool/src/plugins/
H A Dipmi_intf.c209 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/openbmc/meta-yadro/recipes-core/base-files/
H A Dbase-files%.bbappend2 if [ "${hostname}" ]; then
3 echo ${hostname} > ${D}${sysconfdir}/hostname
/openbmc/openbmc/poky/meta/recipes-core/base-files/
H A Dbase-files_3.0.14.bb63 # By default the hostname is the machine name. If the hostname is unset then a
64 # /etc/hostname file isn't written, suitable for environments with dynamic
67 # The hostname can be changed outside of this recipe by using
68 # hostname:pn-base-files = "my-host-name".
69 hostname = "${MACHINE}"
136 # deal with hostname
137 if [ "${hostname}" ]; then
138 echo ${hostname} > ${D}${sysconfdir}/hostname
139 echo "127.0.1.1 ${hostname}" >> ${D}${sysconfdir}/hosts
188 …{PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname ${sysconfdir}/hosts'][(d.getVar('hostn…
/openbmc/qemu/crypto/
H A Dtlssession.c40 char *hostname; member
58 g_free(session->hostname); in qcrypto_tls_session_free()
98 const char *hostname, in qcrypto_tls_session_new() argument
108 session, creds, hostname ? hostname : "<none>", in qcrypto_tls_session_new()
111 if (hostname) { in qcrypto_tls_session_new()
112 session->hostname = g_strdup(hostname); in qcrypto_tls_session_new()
369 if (session->hostname) { in qcrypto_tls_session_check_certificate()
370 if (!gnutls_x509_crt_check_hostname(cert, session->hostname)) { in qcrypto_tls_session_check_certificate()
373 session->hostname); in qcrypto_tls_session_check_certificate()
570 const char *hostname G_GNUC_UNUSED, in qcrypto_tls_session_new()
/openbmc/linux/fs/lockd/
H A Dmon.c211 const char *hostname, const size_t len) in nsm_lookup_hostname() argument
217 memcmp(nsm->sm_name, hostname, len) == 0) in nsm_lookup_hostname()
274 const char *hostname, in nsm_create_handle() argument
279 if (!hostname) in nsm_create_handle()
296 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle()
319 const size_t salen, const char *hostname, in nsm_get_handle() argument
325 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle()
329 (int)hostname_len, hostname); in nsm_get_handle()
337 if (nsm_use_hostnames && hostname != NULL) in nsm_get_handle()
339 hostname, hostname_len); in nsm_get_handle()
[all …]

12345678910>>...14