From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7909450A77 for ; Wed, 1 May 2024 14:03:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714572223; cv=none; b=OeTtGdkE5kn/rj8beKI2D6jc3Xnh6Ut/Jw8QA3iYYaAp0EXf2f5Vx/V4cahUrctNL8KVlMxmsssYbp2HgdI+wkJgAu4ZmaFZljGvTX+9eJAepBRu5Wpo6iDwfUXfPAGb0BnGMJtht6f237WuR/nPeYcx8qmcJAjThFjxoEjqFIc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714572223; c=relaxed/simple; bh=XLGMB5a5JWrQzOxdGYdZxGOk2VQGcvI7qXHeN17he+c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qGRuoaBPXXFl9yAptRMvDK82a3ygjUjsBMnH1/88Dswvxm0qm0X0S2rpObQAU3z84waHTCcX5vHQCz8C/bykejTbczbQgGxVI/H3nvJWn4AmTv7htOMnshc7qAxTYs2U4ooyKvaMf7oh6Y0Bu9XeO8ri0hEpRopbD/UfGWi0pYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HGytweBf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HGytweBf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4AEEC113CC; Wed, 1 May 2024 14:03:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714572223; bh=XLGMB5a5JWrQzOxdGYdZxGOk2VQGcvI7qXHeN17he+c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HGytweBfuJCDtHarrXIPQq7M+FHTYIYXRiCzRn1wgIVJ3zzooWCpvNSAeGsgPEjY3 fGwGef4yBmW5WAOCQaMMZgBXcc8WyDR0qC81bkaaqPzigHPsyBV/zg7UcEUv80sjzJ PANrMDlsBC7YccQZu4Sig2P/RhSk5ARM834+VuW28Ru0zj8U4GLaaVWSfNqrP30oSj fKU01w0uQ68gCbT75LoYmyJrLsBEBj/hgFSCT3it3OQWVuzU6i2JIc6+58PhYAv+eC rzn4T1MjMcqQEq40ijWGoTRbVIt+IdneCwqjlcL3y7ppofbhNbkoADh8Y8FNvrgsRj 2lemmp0nuSpGg== From: cel@kernel.org To: Cc: Chuck Lever Subject: [RFC PATCH 2/3] get-distro-default-bridge.sh: Remove "http://" Date: Wed, 1 May 2024 10:03:34 -0400 Message-ID: <20240501140335.49067-2-cel@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240501140335.49067-1-cel@kernel.org> References: <20240501140335.49067-1-cel@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Chuck Lever The script should always return only an IP address, not a URL. Signed-off-by: Chuck Lever --- scripts/get-distro-default-bridge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get-distro-default-bridge.sh b/scripts/get-distro-default-bridge.sh index 09d09ff04ee1..d85625c4ebd8 100755 --- a/scripts/get-distro-default-bridge.sh +++ b/scripts/get-distro-default-bridge.sh @@ -9,7 +9,7 @@ VIRT_TYPE=$2 # a different deafult it should be easy for you to extend it here. if [[ "$VIRT_TYPE" == "vagrant" ]]; then - echo "http://192.168.124.1" + echo "192.168.124.1" else echo "192.168.122.1" fi -- 2.44.0