Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • can/unix-command-line
  • gdurif/unix-command-line_dev
2 results
Show changes
Showing with 292 additions and 0 deletions
#!/bin/bash
# This script is executed on the virtual machine during the *Deployment* phase.
# It is used to apply parameters specific to the current deployment.
# It is executed secondly during a cloud deployement in IFB-Biosphere, after the *Installation* phase.
USER_LOGIN=etudiant
USER_PASSWORD=$( openssl rand -hex 12 )
useradd -m -s /bin/bash -g users -G adm,docker,dialout,cdrom,floppy,audio,dip,video,plugdev,netdev ${USER_LOGIN}
cp /etc/skel/.* /home/${USER_LOGIN}/
passwd ${USER_LOGIN} << EOF
${USER_PASSWORD}
${USER_PASSWORD}
EOF
HOST_NAME=$( ss-get --timeout=3 hostname )
HTTP_ENDP="https://$HOST_NAME"
ss-set url.service "${HTTP_ENDP}"
ss-set ss:url.service "[HTTPS]$HTTP_ENDP,[LOGIN]$USER_LOGIN,[PASSWORD]$USER_PASSWORD"
This diff is collapsed.
img/IBM_card_storage_NARA.jpg

48.9 KiB

img/SSD.jpeg

156 KiB

img/disk.png

17.1 KiB

This diff is collapsed.
img/files.png

34.1 KiB

img/funcircuitswitching.png

22.2 KiB

img/group_selection_ifb.png

18.4 KiB

img/hdd.png

1.35 MiB

img/join_a_group.png

3.3 KiB

img/login_ifb.png

2.13 KiB

img/logo-lbmc.png

15.2 KiB

img/logo-prabi.png

23.4 KiB

img/my_VM_ifb.png

14.2 KiB

img/my_appliances_ifb.png

36.7 KiB

img/openssh.png

81.2 KiB

img/os-stacks.png

29.4 KiB

img/packet_switching.gif

7.47 MiB

img/partition.png

29.3 KiB