diff --git a/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemProfileManager.java b/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemProfileManager.java index d9415a4ffd0..f61e85f5ea7 100644 --- a/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemProfileManager.java +++ b/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemProfileManager.java @@ -629,10 +629,15 @@ public class SystemProfileManager implements ISystemProfileManager { if (_profiles == null) { - // FIXME ISystemProfile profile = new SystemProfile(); - //profile.setName("Private"); - profile.setName(RSEUIPlugin.getLocalMachineName()); + String initProfileName = RSEUIPlugin.getLocalMachineName(); + int dotIndex = initProfileName.indexOf('.'); + + if (dotIndex != -1) + { + initProfileName = initProfileName.substring(0, dotIndex); + } + profile.setName(initProfileName); profile.setDefaultPrivate(true); _profiles = new ArrayList(); _profiles.add(profile);