epcim
2/8/2017 - 12:37 PM

aptly, local repo

aptly, local repo

#under
aptly@apt-01:/srv/aptly/pmichalec-packages/ 
wget -m -np URLs; cd PATH

# add to repo
aptly repo add ubuntu-trusty-mos8-hotfix *.deb 

# create snapshot/publish 
SNAPSHOT=2017-02-03a 
aptly snapshot create ubuntu-trusty-mos8-hotfix-$SNAPSHOT from repo ubuntu-trusty-mos8-hotfix 
aptly publish drop trusty ubuntu-trusty-mos8-hotfix 
aptly publish snapshot ubuntu-trusty-mos8-hotfix-$SNAPSHOT ubuntu-trusty-mos8-hotfix  # later on ctl/cpu salt-call state.apply linux.system