Last active
August 14, 2025 14:23
-
-
Save muhamad-ridwant-tech/cc5b3efdc7dd1fbc892d8ea28ff3775e to your computer and use it in GitHub Desktop.
RUN Preseed command to All Node Secara bersama
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## SSH Copy ID | |
[ridwan@WarMachine]$ | |
$ for i in {01,02,03}; do ssh-copy-id root@MicroCloud-${i};done | |
# SCP File preseed.yml | |
$ for i in {01,02,03}; do scp preseed.yaml root@MicroCloud-${i}:/root/; done | |
## RUN Preseed command to All Node Secara bersama | |
$ for i in {01,02,03}; do ssh root@MicroCloud-${i} "hostname && \ | |
cat preseed.yaml | microcloud preseed > initialize-output.txt"& done | |
## Read output command | |
$ for i in {01,02,03}; do ssh root@MicroCloud-${i} "hostname && \ | |
tail initialize-output.txt"; done | |
### Perhatikan | |
### Ada perbedaan antara ; dan & | |
### Pada setelah input do di command di atas | |
### https://blog.ridwan.pro/2025/08/automated-installation-initialization.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Details :
https://blog.ridwan.pro/2025/08/automated-installation-initialization.html