Searched refs:hostname (Results 1 - 11 of 11) sorted by relevance

/lxc/src/tests/
H A Dlxc-test-lxc-attach33 # lxc-attach -n busy -- hostname < /dev/null
71 attach=$(lxc-attach -n busy -- hostname || FAIL "to allocate or setup pty")
73 FAIL "lxc-attach -n busy -- hostname"
80 attach=$(lxc-attach -n busy -- hostname < /dev/null || FAIL "to allocate or setup pty")
82 FAIL "lxc-attach -n busy -- hostname < /dev/null"
88 attach=$(lxc-attach -n busy -- hostname > /dev/null || FAIL "to allocate or setup pty")
90 FAIL "lxc-attach -n busy -- hostname > /dev/null"
96 attach=$(lxc-attach -n busy -- hostname 2> /dev/null || FAIL "to allocate or setup pty")
98 FAIL "lxc-attach -n busy -- hostname 2> /dev/null < /dev/null"
104 attach=$(lxc-attach -n busy -- hostname
[all...]
/lxc/templates/
H A Dlxc-alpine.in303 # This runscript injects localhost entries with the current hostname
315 127.0.0.1 $(hostname).local $(hostname) localhost
316 ::1 $(hostname).local $(hostname) localhost
346 hostname \$(hostname)
376 local hostname="$2"
384 # Set hostname.
385 lxc.utsname = $hostname
[all...]
H A Dlxc-debian.in47 hostname=$2
94 # set the hostname
95 cat <<EOF > $rootfs/etc/hostname
96 $hostname
140 sed -i "s/root@$(hostname)/root@$hostname/g" "$rootfs/etc/ssh/"ssh_host_*.pub
382 hostname=$3
411 lxc.utsname = $hostname
H A Dlxc-ubuntu.in89 hostname=$2
107 # set the hostname
108 cat <<EOF > $rootfs/etc/hostname
109 $hostname
114 127.0.1.1 $hostname
160 sed -i "s/root@$(hostname)/root@$hostname/g" $rootfs/etc/ssh/ssh_host_*.pub
H A Dlxc-opensuse.in54 hostname=$2
65 # set the hostname
67 $hostname
69 # ensure /etc/hostname is available too
70 ln -s -f HOSTNAME $rootfs/etc/hostname
72 # do not use hostname from HOSTNAME variable
79 127.0.0.1 localhost $hostname
H A Dlxc-slackware.in58 hostname=$2
98 # just set the hostname
100 $hostname.example.net
102 cp $rootfs/etc/HOSTNAME $rootfs/etc/hostname
397 /bin/hostname darkstar
H A Dlxc-fedora.in229 DHCP_HOSTNAME=\`hostname\`
235 # set the hostname
241 # set hostname on systemd Fedora systems
243 echo "${utsname}" > ${rootfs_path}/etc/hostname
1323 # utsname and hostname = Container_Name
1325 # utsname and hostname = Container_Name.Domain_Name
H A Dlxc-openmandriva.in68 # set the hostname
74 echo "${utsname}" > ${rootfs_path}/etc/hostname
H A Dlxc-oracle.in336 DHCP_HOSTNAME=\`hostname\`
341 # set the hostname
343 # systemd honors /etc/hostname
344 echo "$name" >$container_rootfs/etc/hostname
H A Dlxc-centos.in257 DHCP_HOSTNAME=\`hostname\`
260 # set the hostname
812 # utsname and hostname = Container_Name
814 # utsname and hostname = Container_Name.Domain_Name
H A Dlxc-sparclinux.in211 DHCP_HOSTNAME=\`hostname\`

Completed in 53 milliseconds