* [PATCH 1/2] passt.1: Drop duplicate --dns section
@ 2022-02-25 21:36 Stefano Brivio
2022-02-25 21:36 ` [PATCH 2/2] hooks: Uploaded compressed .cast files too Stefano Brivio
0 siblings, 1 reply; 2+ messages in thread
From: Stefano Brivio @ 2022-02-25 21:36 UTC (permalink / raw)
To: passt-dev
[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]
Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>
---
passt.1 | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/passt.1 b/passt.1
index 1e7cf1a..57cf745 100644
--- a/passt.1
+++ b/passt.1
@@ -171,14 +171,6 @@ configured (see options \fB--no-dhcp-dns\fR, \fB--dhcp-dns\fR,
This option can be specified multiple times, and a single, empty option disables
usage of DNS addresses altogether.
-.TP
-.BR \-D ", " \-\-dns " " \fIaddr
-Use \fIaddr\fR (IPv4 or IPv6) for DHCP, DHCPv6, NDP or DNS forwarding, as
-configured (see options \fB--no-dhcp-dns\fR, \fB--dhcp-dns\fR,
-\fB--dns-forward\fR) instead of reading addresses from \fI/etc/resolv.conf\fR.
-This option can be specified multiple times, and a single, empty option disables
-usage of DNS addresses altogether.
-
.TP
.BR \-\-dns-forward " " \fIaddr
Map \fIaddr\fR (IPv4 or IPv6) as seen from guest or namespace to the first
@@ -440,9 +432,7 @@ The default path is shown with --help.
.TP
.BR \-\-config-net
Configure networking in the namespace: set up addresses and routes as configured
-or sourced from the host, and bring up the tap interface. This option implies
-\fB--no-ra\fR: the static configuration of the IPv6 address will not allow the
-kernel to set up the default route using SLAAC.
+or sourced from the host, and bring up the tap interface.
.TP
.BR \-\-ns-mac-addr " " \fIaddr
--
@@ -171,14 +171,6 @@ configured (see options \fB--no-dhcp-dns\fR, \fB--dhcp-dns\fR,
This option can be specified multiple times, and a single, empty option disables
usage of DNS addresses altogether.
-.TP
-.BR \-D ", " \-\-dns " " \fIaddr
-Use \fIaddr\fR (IPv4 or IPv6) for DHCP, DHCPv6, NDP or DNS forwarding, as
-configured (see options \fB--no-dhcp-dns\fR, \fB--dhcp-dns\fR,
-\fB--dns-forward\fR) instead of reading addresses from \fI/etc/resolv.conf\fR.
-This option can be specified multiple times, and a single, empty option disables
-usage of DNS addresses altogether.
-
.TP
.BR \-\-dns-forward " " \fIaddr
Map \fIaddr\fR (IPv4 or IPv6) as seen from guest or namespace to the first
@@ -440,9 +432,7 @@ The default path is shown with --help.
.TP
.BR \-\-config-net
Configure networking in the namespace: set up addresses and routes as configured
-or sourced from the host, and bring up the tap interface. This option implies
-\fB--no-ra\fR: the static configuration of the IPv6 address will not allow the
-kernel to set up the default route using SLAAC.
+or sourced from the host, and bring up the tap interface.
.TP
.BR \-\-ns-mac-addr " " \fIaddr
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] hooks: Uploaded compressed .cast files too
2022-02-25 21:36 [PATCH 1/2] passt.1: Drop duplicate --dns section Stefano Brivio
@ 2022-02-25 21:36 ` Stefano Brivio
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Brivio @ 2022-02-25 21:36 UTC (permalink / raw)
To: passt-dev
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
...to benefit from gzip_static in nginx or equivalent.
Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>
---
hooks/pre-push | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/hooks/pre-push b/hooks/pre-push
index 0246776..69bbd18 100755
--- a/hooks/pre-push
+++ b/hooks/pre-push
@@ -34,12 +34,15 @@ ssh "${USER_HOST}" "mkdir -p ${WEB} ${TEST} ${BIN}"
cd test
./ci
-scp ci.cast perf.js ci.js ../doc/*.png "${USER_HOST}:${WEB}/"
+scp perf.js ci.js ../doc/*.png "${USER_HOST}:${WEB}/"
scp test_logs/* "${USER_HOST}:${TEST}/"
./run_demo
-scp demo_pasta.cast demo_podman.cast "${USER_HOST}:${WEB}/"
-scp demo_passt.cast "${USER_HOST}:${WEB}/"
+
+for cast in ci demo_pasta demo_podman demo_passt; do
+ gzip -9 "${cast}.cast"
+ scp "${cast}.cast"{,.gz} "${USER_HOST}:${WEB}/"
+done
cd ..
--
@@ -34,12 +34,15 @@ ssh "${USER_HOST}" "mkdir -p ${WEB} ${TEST} ${BIN}"
cd test
./ci
-scp ci.cast perf.js ci.js ../doc/*.png "${USER_HOST}:${WEB}/"
+scp perf.js ci.js ../doc/*.png "${USER_HOST}:${WEB}/"
scp test_logs/* "${USER_HOST}:${TEST}/"
./run_demo
-scp demo_pasta.cast demo_podman.cast "${USER_HOST}:${WEB}/"
-scp demo_passt.cast "${USER_HOST}:${WEB}/"
+
+for cast in ci demo_pasta demo_podman demo_passt; do
+ gzip -9 "${cast}.cast"
+ scp "${cast}.cast"{,.gz} "${USER_HOST}:${WEB}/"
+done
cd ..
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-25 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-25 21:36 [PATCH 1/2] passt.1: Drop duplicate --dns section Stefano Brivio
2022-02-25 21:36 ` [PATCH 2/2] hooks: Uploaded compressed .cast files too Stefano Brivio
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).