added support for Remoteadress, multiuser and other port selection
This commit is contained in:
parent
49da1df840
commit
67a832062c
@ -4,7 +4,7 @@ Dies erzeugt ein neues GIT Repository auf ein Asustor NAS (Only GIT installed).
|
|||||||
|
|
||||||
## Version
|
## Version
|
||||||
|
|
||||||
V 1.1
|
V 1.2
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -12,6 +12,12 @@ Dies erzeugt ein neues GIT Repository auf ein Asustor NAS (Only GIT installed).
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### V 1.1 **(WIP)**
|
||||||
|
- `main.py`
|
||||||
|
- Added Remote Adresse zu ändern (Local & Public)
|
||||||
|
- Added Multiuser
|
||||||
|
- Added Port ändern
|
||||||
|
|
||||||
### V 1.1
|
### V 1.1
|
||||||
- `README.md` erstellt
|
- `README.md` erstellt
|
||||||
- `main.py` -> Tippfehler korrigiert
|
- `main.py` -> Tippfehler korrigiert
|
||||||
|
|||||||
12
main.py
12
main.py
@ -1,9 +1,13 @@
|
|||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
project_name = input("Geben Sie den Projektnamen ein: ")
|
username = input("Hallo, wie lautet ihr anmelde Namen? (achte auf Groß und Kleinschrift): ")
|
||||||
hostname = "192.168.2.106"
|
hostname = input(f"Super, {username}. Jetzt bräuchte ich noch die Remote-adresse: ")
|
||||||
username = "yannick"
|
port= "22"
|
||||||
port = "22" # Anpassen, falls ein anderer Port verwendet wird
|
port = input(f"Standartport {port} nutzen? (y/j/PORT-Nr) ")
|
||||||
|
if port.lower() in ["ja","j","y"]:
|
||||||
|
port= "22"
|
||||||
|
|
||||||
|
project_name = input("Perfekt, gibt mir bitte noch den Projektnamen: ")
|
||||||
|
|
||||||
# Befehle für die SSH-Verbindung
|
# Befehle für die SSH-Verbindung
|
||||||
commands = [
|
commands = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user