Skip to content

Commit

Permalink
Release 3.1.0
Browse files Browse the repository at this point in the history
docs(php): Added PHP API Versions to Version section
docs(wordpress): Aded code to log errors when "There has been a critical error on your website." occurs.
fix(powershell10k): Updated internal ip interface detection for p10k
fix(interfaces): Updated coding format
Updated interfaces_linux command to exclude fwpr and fwln
fix(zshbop): Fixed zshbop to provide proper error message when command doesn't exist
fix(interfaces): Fixed formatting for displaying network interfaces
fix(checkroot): Return proper codes for _checkroot
feat(mysql): Added mysql-adddb
enhance(ssh): Changes awsfpssh to ssh-fingerprint and also created ssh-fingerprint-all
enhance(services): Check if runing cyberpanel
fix(proxmox): Updated $OS to $OS_RELEASE
test(testing): Added testing document, will need to expand later.
fix(ssh): Updated addkeyssh to ssh-addkey
fix(proxmox): Updated proxmox documentation for dhcp
docs(proxmox): Added common issue single user mode in proxmox
fix(proxmox): Removed sensitive config
fix(proxmox): Added check for vendor.yaml and apply if exists
fix(proxmox): Fixed typo in _proxmox_createvm function
enhance(proxmox): Updated _proxmox_clonetemp
enhance(proxmox): Improved proxmox clonetemp
fix(proxmox): Set VM template to autoboot and clone sets random password
fix(proxmox): Enabled qemu guest agent on template.
enhance(proxmox): Added networking to proxmox clonetemp
docs(runcloud): Created runcloud.md kb
fix(proxmox): Fixed issue with proxmox clonetemp and netwokr brdige default
enhance(proxmox): proxmox clonetemp set onboot and qemu guest when cloning
fix(proxmox): Updated DHCP server config to remove routing and dns
fix(gp-mysql): Send stderr to stdout
feat: Added spectre-meltdown-checker.sh
  • Loading branch information
jordantrizz committed Aug 21, 2023
1 parent ff7ef24 commit 392636f
Show file tree
Hide file tree
Showing 18 changed files with 7,384 additions and 131 deletions.
16 changes: 13 additions & 3 deletions .p10k.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,18 @@
)

# Set IP interface
#typeset -g POWERLEVEL9K_IP_INTERFACE='eth0'
typeset -g POWERLEVEL9K_IP_INTERFACE=$(ip -o route get to 8.8.8.8 | awk {' print $5 '})

case $OSTYPE in
darwin*)
typeset -g POWERLEVEL9K_IP_INTERFACE=$(route get 8.8.8.8 | awk '/interface:/{print $2}')
;;
linux*)
typeset -g POWERLEVEL9K_IP_INTERFACE=$(ip -o route get to 8.8.8.8 | awk {' print $5 '})
;;
*)
typeset -g POWERLEVEL9K_IP_INTERFACE='eth0'
;;
esac

# To disable default icons for all segments, set POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION=''.
#
# To enable default icons for all segments, don't define POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION
Expand Down Expand Up @@ -644,6 +653,7 @@
typeset -g POWERLEVEL9K_CONTEXT_BACKGROUND=0

# Fix for %M not providing a fully qualified hostname
# Todo utilize $_p9k_os
if [[ $MACHINE_OS == "Linux" ]]; then
if [[ $(hostname -af) == "localhost" ]]; then
HOSTNAME=$(hostname)
Expand Down
25 changes: 25 additions & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Docker
## Docker Ubuntu Image for Testing
```
docker pull ubuntu:jammy
docker create -it --name zshbop ubuntu:jammy
docker start zshbop
```

## Docker Ubuntu Image One Time Run
```
docker run -it ubuntu bash
```

# Linux Container
## Setting up LXD on Ubuntu 22
```
apt install lxd-installer
lxd init
```
## Lauch Ubuntu 22 Container
```
lxc launch images:ubuntu/bionic/amd64 ubuntu-bionic
lxc launch images:ubuntu/focal/amd64 ubuntu-focal
lxc launch images:ubuntu/jammy/amd64 ubuntu-jammy
```
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.1.0
Loading

0 comments on commit 392636f

Please sign in to comment.