Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/webui-vue/src/views/Settings/Network/
H A DModalHostname.vue3 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/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.h983 TP_PROTO(char *hostname,
986 TP_ARGS(hostname, conn_id, dst_addr),
988 __string(hostname, hostname)
998 __assign_str(hostname, hostname);
1002 __get_str(hostname),
1008 TP_PROTO(char *hostname, \
1011 TP_ARGS(hostname, conn_id, addr))
1018 TP_PROTO(char *hostname, __u64 conn_id,
1020 TP_ARGS(hostname, conn_id, dst_addr, rc),
1022 __string(hostname, 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/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.hpp58 const std::string* hostname = nullptr; in onPropertyUpdate() local
63 hostname = std::get_if<std::string>(&propertyPair.second); in onPropertyUpdate()
66 if (hostname == nullptr) in onPropertyUpdate()
71 BMCWEB_LOG_DEBUG("Read hostname from signal: {}", *hostname); in onPropertyUpdate()
108 cnValue, *hostname, isSelfSigned); in onPropertyUpdate()
120 cnValue != *hostname) in onPropertyUpdate()
124 *hostname); in onPropertyUpdate()
126 std::string certData = ensuressl::generateSslCertificate(*hostname); in onPropertyUpdate()
/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/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/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/openbmc-test-automation/ffdc/
H A Dffdc_collector.py119 hostname, argument
151 self.hostname = hostname
277 response = os.system("ping -c 1 %s 2>&1 >/dev/null" % self.hostname)
280 "\n\t[Check] %s is ping-able.\t\t [OK]" % self.hostname
286 % self.hostname
297 "\n\t---- Start communicating with %s ----" % self.hostname
354 self.hostname, self.username, self.password, self.port_ssh
360 % self.hostname
371 % self.hostname
380 self.hostname, self.username, self.password
[all …]
/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/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()
136 return hash_str(key->hostname, NFS_DNS_HASHBITS); in nfs_dns_hash()
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()
[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/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/phosphor-networkd/docs/
H A DNetwork-Configuration.md68 }' 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/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-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-misc/firstboot/
H A Dfirst-boot-set-hostname.sh5 echo "$@" | systemd-cat -t first-boot-set-hostname -p emerg
69 hostnamectl set-hostname "$(hostname)-${MAC_ADDR}"
71 hostnamectl set-hostname "$(hostname)-${BMC_SN}"
79 touch "/var/lib/first-boot-set-hostname"
H A Dmeson.build2 set_hostname = dependency('systemd', required: get_option('first-boot-set-hostname'))
22 'first-boot-set-hostname.sh',
28 input: 'first-boot-set-hostname.service',
29 output: 'first-boot-set-hostname.service',
/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 …]
/openbmc/openbmc/poky/meta/recipes-core/base-files/
H A Dbase-files_3.0.14.bb65 # 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}"
138 # deal with hostname
139 if [ "${hostname}" ]; then
140 echo ${hostname} > ${D}${sysconfdir}/hostname
141 echo "127.0.1.1 ${hostname}" >> ${D}${sysconfdir}/hosts
190 …{PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname ${sysconfdir}/hosts'][(d.getVar('hostn…
/openbmc/openbmc/meta-yadro/recipes-core/base-files/
H A Dbase-files%.bbappend2 if [ "${hostname}" ]; then
3 echo ${hostname} > ${D}${sysconfdir}/hostname

12345678910>>...14