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
|
||||
|
||||
V 1.1
|
||||
V 1.2
|
||||
|
||||
## Installation
|
||||
|
||||
@ -12,6 +12,12 @@ Dies erzeugt ein neues GIT Repository auf ein Asustor NAS (Only GIT installed).
|
||||
|
||||
## Changelog
|
||||
|
||||
### V 1.1 **(WIP)**
|
||||
- `main.py`
|
||||
- Added Remote Adresse zu ändern (Local & Public)
|
||||
- Added Multiuser
|
||||
- Added Port ändern
|
||||
|
||||
### V 1.1
|
||||
- `README.md` erstellt
|
||||
- `main.py` -> Tippfehler korrigiert
|
||||
|
||||
12
main.py
12
main.py
@ -1,9 +1,13 @@
|
||||
import subprocess
|
||||
|
||||
project_name = input("Geben Sie den Projektnamen ein: ")
|
||||
hostname = "192.168.2.106"
|
||||
username = "yannick"
|
||||
port = "22" # Anpassen, falls ein anderer Port verwendet wird
|
||||
username = input("Hallo, wie lautet ihr anmelde Namen? (achte auf Groß und Kleinschrift): ")
|
||||
hostname = input(f"Super, {username}. Jetzt bräuchte ich noch die Remote-adresse: ")
|
||||
port= "22"
|
||||
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
|
||||
commands = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user