File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,13 +152,19 @@ def get_xapi_session():
152152
153153def install_randstream (vm : 'VM' ):
154154 BASE_URL = 'https://github.com/xcp-ng/randstream/releases/download'
155- VERSION = '0.3 .1'
155+ VERSION = '0.4 .1'
156156 CHECKSUM = {
157- 'Linux' : '71fb54390c590e08d40330aed2818afc49f63fac69314148c7fa5eb35ff1babb' ,
157+ 'Linux' : '2a49ec6492a826cc9d4a69556041dad6dbea0051039f41f8de765bd4fb560e54' ,
158+ 'FreeBSD' : '07362e6ced58f3dcf0676500775df401ed475b2e594a75a7949e4b2c1ca4775c' ,
158159 }
159160 TARGET_TRIPLE = {
160161 'Linux' : 'x86_64-unknown-linux-musl' ,
162+ 'FreeBSD' : 'x86_64-unknown-freebsd' ,
161163 }
164+ version = vm .ssh ('randstream --version' , check = False )
165+ if f'randstream { VERSION } ' == version :
166+ logging .debug ("randstream is already installed" )
167+ return
162168 logging .debug ("Installing randstream" )
163169 if vm .is_windows :
164170 raise ValueError ("Windows is not currently supported" )
You can’t perform that action at this time.
0 commit comments