INNER CODE UNIT · Shell

CONTAINER

servisys/ispconfig_setup · install.sh:210

if CONTAINER=$(systemd-detect-virt -c); then
	echo -e "Virtualization container:\t\t$CONTAINER\n"
fi
if VM=$(systemd-detect-virt -v); then
	echo -e "Virtual Machine (VM) hypervisor:\t$VM\n"
fi
if uname -r | grep -iq "microsoft"; then
	echo -e "${yellow}Warning: The Windows Subsystem for Linux (WSL) is not yet fully supported by this script.${NC}"
	echo -e "For more information, see this issue: https://github.com/servisys/ispconfig_setup/issues/176\n"
fi
if [ -n "$DISTRO" ]; then
	echo -e "Installing for this Linux Distribution:\t$DISTRO"
	# read -p "Is this correct? (y/n) " -n 1 -r
	echo -n "Is this correct? (y/n) "
	read -n 1 -r
	echo -e "\n"    # (optional) move to a new line
	RE='^[Yy]$'
	if [[ ! $REPLY =~ $RE ]]; then

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…