20 Şubat 2022 Pazar

Satellite yeni bir host eklemek cok kolay

 Sayet sattelite kullaniyor ve sattellite yeni bir linux sunucuyu eklemeyi bilmiyorsak, satellite bu konuda bize yardimci oluyor.


https://satellite-hostname/hosts/register baglantisina gittigimizde satellite bizim icin asagidaki gibi kayit scripti olusturup, linkini veriyor. 

curl -sS  'https://satellite.example.lan:9090/register?activation_keys=demo-rhel8-x86-64&hostgroup_id=2&lifecycle_environment_id=11&location_id=2&operatingsystem_id=4&organization_id=1&update_packages=false' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE2NDUzNDYyMTEsImp0aSI6IjIxOGJhMDMzYzBkYzlkMGY0ZjMxZjRmNzAwZDc0ZDA2Mzc3MWZiNTI0ZWNlYWRhN2UwNDcwMDFmMmZlNzY2YzMiLCJleHAiOjE2NDUzNjA2MTEsInNjb3BlIjoicmVnaXN0cmF0aW9uI2dsb2JhbCByZWdpc3RyYXRpb24jaG9zdCJ9.ubw3oLqrRqesmFcmjw6J2ox4ngwfB2MAHPnaVKzkec0' | bash

 

Bu linki ekleyecegimiz sunucuda calistirmak yeterli.





Hiç yorum yok:

Yorum Gönder

Git kullanımı notları

 Temel ayarlar git kullanıcısı için: $ git config --global user.name "Remzi AKYÜZ" $ git config --global user.email "remzi@ak...