Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added -E to zt-upgrade & vm-support-bundle #27

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.5.3] - 2023-10-16

### Changed

- Added "-E" to zt-upgrade & vm-support-bundle aliases

## [1.5.2] - 2023-10-04

### Changed
Expand Down
6 changes: 3 additions & 3 deletions nfhelp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,10 @@ create_aliases() {
alias zt-tcpdump="echo Press Ctrl-C to stop dump;export DATE=\$(date +"%y-%m-%d-%s"); sudo tcpdump -w /tmp/ziti-tcpdump-\$DATE.pcap;echo Created /tmp/ziti-tcpdump-\$DATE.pcap; unset DATE"
alias zt-firewall-rules="check_firewall"
alias zt-intercepts="check_intercepts"
alias zt-upgrade="sudo /opt/netfoundry/zt-upgrade"
alias zt-upgrade="sudo -E /opt/netfoundry/zt-upgrade"
alias zt-status="sudo systemctl status ziti-router --no-pager; sudo systemctl status ziti-tunnel --no-pager"
alias zt-logs-zip="export DATE=\$(date +"%y-%m-%d-%s") ;journalctl -u ziti-tunnel --no-pager --since '1 day ago' > /tmp/ziti-tunnel-\$DATE.log;journalctl -u ziti-router --no-pager --since '1 day ago' > /tmp/ziti-router-\$DATE.log; zip -r /home/$USER/ziti-logs-\$DATE.zip /tmp/ziti*.log /tmp/ziti*.out /tmp/ziti*.pcap; echo Created /home/$USER/ziti-logs-\$DATE.zip; unset DATE; sudo rm /tmp/ziti*"
alias vm-support-bundle="sudo /opt/netfoundry/vm-support-bundle"
alias vm-support-bundle="sudo -E /opt/netfoundry/vm-support-bundle"
alias sar-enable="echo 'ENABLED="true"'| sudo tee /etc/default/sysstat"
alias sar-disable="echo 'ENABLED="false"'| sudo tee /etc/default/sysstat"
alias sar-status="sudo cat /etc/default/sysstat"
Expand Down Expand Up @@ -341,7 +341,7 @@ run_profile(){

# print version
version(){
echo "1.5.2"
echo "1.5.3"
}

### Main
Expand Down