mirror of https://github.com/tteck/Proxmox.git
				
				
				
			revert revert ssh_check
This commit is contained in:
		
							parent
							
								
									8bf03a6cb6
								
							
						
					
					
						commit
						b19b5e1039
					
				| 
						 | 
				
			
			@ -78,6 +78,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -81,6 +81,7 @@ function update_script() {
 | 
			
		|||
  done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -75,6 +75,7 @@ function update_script() {
 | 
			
		|||
  done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -88,6 +88,7 @@ function update_script() {
 | 
			
		|||
  done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -81,6 +81,7 @@ function update_script() {
 | 
			
		|||
  done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,6 +79,7 @@ function update_script() {
 | 
			
		|||
  done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -75,6 +75,7 @@ function update_script() {
 | 
			
		|||
  done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,6 +63,7 @@ exit;
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,6 +71,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -100,6 +100,7 @@ exit
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -86,6 +86,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,6 +71,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,6 +68,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -140,6 +140,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -207,6 +207,7 @@ EOF
 | 
			
		|||
  fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -128,6 +128,7 @@ WantedBy=default.target" >$service_path
 | 
			
		|||
  fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -67,6 +67,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -84,6 +84,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,6 +63,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,6 +71,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -171,6 +171,7 @@ EOF
 | 
			
		|||
  exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,6 +63,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -96,6 +96,7 @@ exit
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -132,6 +132,7 @@ EOF
 | 
			
		|||
  fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -86,6 +86,7 @@ function update_script() {
 | 
			
		|||
  exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,6 +71,7 @@ exit
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -111,6 +111,7 @@ exit
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -66,6 +66,7 @@ msg_ok "Updated $APP"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,6 +64,7 @@ msg_ok "Updated Shinobi LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,6 +62,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,6 +70,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -80,6 +80,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -78,6 +78,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -131,6 +131,7 @@ function update_script() {
 | 
			
		|||
  fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -83,6 +83,7 @@ msg_ok "Update Successfull"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -115,6 +115,7 @@ exit
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
 | 
			
		|||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -126,6 +126,7 @@ function update_script() {
 | 
			
		|||
  exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -78,6 +78,7 @@ function update_script() {
 | 
			
		|||
  exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ssh_check
 | 
			
		||||
start
 | 
			
		||||
build_container
 | 
			
		||||
description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -97,7 +97,7 @@ function ARCH_CHECK() {
 | 
			
		|||
}
 | 
			
		||||
function SSH_CHECK() {
 | 
			
		||||
  if command -v pveversion >/dev/null 2>&1; then
 | 
			
		||||
    if [ -n "$SSH_CLIENT" ]; then
 | 
			
		||||
    if [ -n "${SSH_CLIENT:+x}" ]; then
 | 
			
		||||
      if whiptail --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then
 | 
			
		||||
        echo "you've been warned"
 | 
			
		||||
      else
 | 
			
		||||
| 
						 | 
				
			
			@ -269,6 +269,7 @@ function START_SCRIPT() {
 | 
			
		|||
}
 | 
			
		||||
ARCH_CHECK
 | 
			
		||||
PVE_CHECK
 | 
			
		||||
SSH_CHECK
 | 
			
		||||
START_SCRIPT
 | 
			
		||||
msg_info "Validating Storage"
 | 
			
		||||
while read -r line; do
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue