CoEPP RC
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cloud:image_cernvm_2.5.1 [2013/07/19 16:56]
joannah [CVMFS Configuration]
cloud:image_cernvm_2.5.1 [2013/07/25 15:19]
scrosby
Line 90: Line 90:
  
 ==== format_mount_vdb ==== ==== format_mount_vdb ====
 +<WRAP center round important 60%>
 +We don't use this anymore as Openstack provides a formatted drive already, with the label "​ephemeral0"​. We just add a line in /etc/fstab to mount LABEL=ephemeral0 to /scratch
 +</​WRAP>​
   * This script is to format and mount the on-instance/​secondary/​ephemeral storage of the 30 GB (per CPU core) disk.   * This script is to format and mount the on-instance/​secondary/​ephemeral storage of the 30 GB (per CPU core) disk.
   * Create an init script /​mnt/​etc/​init.d/​format_mount_vdb:​ <code bash>   * Create an init script /​mnt/​etc/​init.d/​format_mount_vdb:​ <code bash>
Line 322: Line 325:
 $ exit $ exit
 </​code>​ </​code>​
-  * Fix it with the following command. This will make a hardlink from /​usr/​local/​bin/​python ​--> ​/usr/bin/python (replacing the old hardlink). <​code ​bash+ 
-$ chroot ​/mnt +==== New way of dealing ​with multiple Python versions ==== 
-$ ln -f /​usr/​bin/​python /​usr/​local/​bin/​python + 
-python ​-V +The only script which references ​/​usr/​local/​bin/​python ​is /usr/local/bin/contexthelperSo I did this to make sure contexthelper could still run 
-Python 2.4.3 + 
-$ exit+<​code>​ 
 +rm /usr/​local/​bin/​python 
 +cp /​usr/​bin/​python /​usr/​local/​bin/​python-cs 
 +vi /​usr/​local/​bin/​contexthelper 
 +     
 +   ​Change:​ 
 +    
 +   #​!/​usr/​local/​bin/​python 
 +   ​ 
 +   To: 
 +    
 +   #​!/​usr/​local/​bin/​python-cs
 </​code>​ </​code>​
 +
 +
  
 ===== CVMFS Configuration ===== ===== CVMFS Configuration =====
cloud/image_cernvm_2.5.1.txt · Last modified: 2013/07/25 15:31 by scrosby
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki