updates urls

Hi

im using scc to obtain update urls for my sles instance

im trying to get’em like this
curl -H “Authorization: Token token=reg_code_here” https://scc.suse.com/connect/subscriptions/products | tr “,” "
" | grep -i “url” | grep -i “SLE-SERVER”

result is like :

“url”:“https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update/?[cut]Brf03-l8lgVSRAsdQV1YJTvQ4pp70tvwyBKJLY_i0gv-TmH-EXThd-tk8_Em2”
“url”:“https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update_debug/?[cut]OqqfL8Pmr2QZPLIEvjLZfBRDFn_Bow3qwmTWxCc”
“url”:“https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product/?[cut]B2jBvZnaTM0OiOsXVQ7cpX_LZshfQbRzr15GgXYas0GBcaQN8ST_9WzLzq9IpOW53KlPy-Iw”
“url”:“https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product_debug/?[cut]57ZvRTzG4HasZ6jbpZsXXG1A1wTZuTghdUcpgICCrrqiQ5HKMZMtglg4dSsKJEaiwpNPenhJpeTpNzNbi2PWedXmJPaQ”
“url”:“https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product_source/?[cut]O3UFnEtEmd2A8AQKLQz3Iq8Qo_UMZNQ5MRzEvtodDKj_iBS224W3efnKm4_qzoixmL_Xixkd078POM”

how long do those urls live ?
ive got both trial and payed subscription.

For me it seems like thos url are working for ~24hr. Is there any way to get them with longer ttl, or any way to create local repo with updates for my farm which has no acces to internet ?

Hi
The easiest way would be to use a system with SMT (Subscription
Management Toll) that has internet access for updates and bring them
down this way. Then you can set you internal systems to access this (vi
a proxy?) with SUSEConnect --url (See man 8 SUSEConnect)

Else use YaST add on creator from the internet facing system to create
an update iso image, this iso could then be added as a local repo
available to the internal systems via a http server.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.36-41-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!