Upload Sysprep Files to VCD Server

Preview:

DESCRIPTION

Upload Sysprep files to vCD Server

Citation preview

Upload Sysprep files to vCDThe following steps (screenshots) will guide you to upload the Microsoft Sysprep files to vCloud Director (vCD) appliance.

Task 1 – Enable ssh in vCD so that WinSCP can copy the files from your local PC to the file system of vCD.1) Use Web Client to logon to vCenter Server Appliance

2) Switch to Hosts and Clusters view

1

3) Highlight vCD appliance on the left pane and click launch console. (you need to ensure that your web browser has already installed the VMRC Client Integration plug-in).

4) Login using vCD (root/password) administrative account. Hit enter at Login.

2

5) Successfully logged in.

6) The objective is to edit /etc/ssh/sshd_config file and change the PermitRootLogin line to yes. Firstly, cd to /etc/ssh

7) Type vi sshd_config

8) Scroll to the line that has PermitRootLogin

3

9) move cursor to no and hit the “I” key, use backspace or delete key to erase it.

10) Enter yes.

11) Hit the escape key, then “:wq”

4

12) the config file is modified and saved.

13) Type exit at the prompt to logout. Hit Ctrl-Alt key to move the mouse cursor back to the screen.

14) Do not forget to restart the ssh service by typing service sshd restart at the prompt.

Task 2 – Upload Sysprep files to the file system of vCD

15) Start up WInSCP program

5

Enter user/password as root/password

6

16) On the right pane, navigate to /opt/vmware/vcloud-director/guestcustomization/default/windows

7

17) Create the following directories sysprepsysprep/svr2003 andsysprep/xp under

/opt/vmware/vcloud-director/guestcustomization/default/windows

8

9

10

11

12

Upload Sysprep files to vCD (Misc Screenshots)

13

14

15

16

17

Web Browser must allow Pop-up windows to display:

18

19

Create the following directories sysprepsysprep/svr2003 andsysprep/xp under

/opt/vmware/vcloud-director/guestcustomization/default/windows

20

21

/etc/ssh/sshd_config file and change the PermitRootLogin line to yes.

service sshd restart

/opt/vmware/vcloud-director/guestcustomization/default/windows/sysprep

22

http://vinfrastructure.it/2013/06/installing-vcloud-director-in-a-lab/

http://www.cyberciti.biz/faq/howto-restart-ssh/

23

Recommended